A complete Texas Hold'em poker game built with React Native & Expo
๐ฑ Download APK โข ๐ Live Demo โข ๐ Game Rules โข ๐ ๏ธ Tech Stack
Texas Hold'em Poker Simulator is a fully-featured, authentic Texas Hold'em poker game that brings the excitement of casino poker to your mobile device. Experience professional-grade poker mechanics with intuitive controls, beautiful UI, and comprehensive game rules.
- ๐ Authentic Poker Rules - Complete Texas Hold'em implementation
- ๐ฎ Interactive Gameplay - Smooth betting rounds and card dealing
- ๐ฅ Multi-Player Support - 2-6 players per game
- ๐ Manual Winner Selection - Choose winners with pot splitting
- ๐ Educational Content - Built-in poker hand rankings guide
- ๐ฑ Cross-Platform - iOS, Android, and Web support
- ๐จ Beautiful UI - Modern design with dynamic layouts
- Complete Card Dealing - Proper hole cards and community cards
- Betting Rounds - Preflop, Flop, Turn, River with correct action order
- Hand Evaluation - All poker hands from Royal Flush to High Card
- Side Pots - Automatic handling of all-in situations
- Blind Structure - Small blind and big blind rotation
- Intuitive Controls - Easy-to-use betting interface
- Visual Feedback - Clear status indicators and action history
- Responsive Design - Adapts to different screen sizes
- Custom Navigation - Clean back arrows without default headers
- Real-time Updates - Live pot, bet, and player status tracking
- Multiple Winner Selection - Split pots among multiple players
- Auto Showdown - Automatic modal opening after river
- Player Management - Custom names and chip counts
- Round Tracking - Complete game statistics
- Educational Mode - Poker hand rankings reference
Texas Hold'em is a poker game where players compete for the pot by making the best possible five-card hand using any combination of their two hole cards and the five community cards.
- Pre-Flop: Each player receives 2 private hole cards
- Flop: 3 community cards are dealt face-up
- Turn: 1 additional community card (total 4)
- River: 1 final community card (total 5)
- Blinds: Mandatory bets posted before cards
- Betting Rounds: Bet, Call, Raise, Fold, Check (when appropriate)
- Raise Limits: Maximum 3 raises per betting round
- All-In: Players can go all-in at any time
- Royal Flush ๐ - A, K, Q, J, 10 of same suit
- Straight Flush ๐ - Five consecutive cards, same suit
- Four of a Kind ๐ - Four cards of same rank
- Full House ๐ - Three of a kind + pair
- Flush ๐ง - Five cards of same suit
- Straight โก๏ธ - Five consecutive cards
- Three of a Kind โ๏ธ - Three cards of same rank
- Two Pair โ๏ธ - Two different pairs
- One Pair ๐ฏโโ๏ธ - Two cards of same rank
- High Card ๐ฆ - Highest single card
- React Native 0.81.4 - Cross-platform mobile development
- Expo SDK 54 - Development platform and build tools
- TypeScript 5.9 - Type-safe JavaScript
- React Navigation 7 - Navigation and routing
- @react-navigation/native - Navigation framework
- @react-navigation/stack - Stack navigation
- @supabase/supabase-js - Backend services (future use)
- expo-status-bar - Status bar customization
- ESLint - Code linting and formatting
- TypeScript Compiler - Type checking
- Expo CLI - Development and build tools
- Node.js (v18 or higher)
- npm or yarn
- Expo CLI (
npm install -g @expo/cli)
-
Clone the repository
git clone https://github.com/VersionVex/TexasHoldemSimulator.git cd TexasHoldemSimulator -
Install dependencies
npm install
-
Start the development server
npm start
-
Run on your device
- iOS: Press
iin terminal or scan QR code with Camera app - Android: Press
ain terminal or scan QR code with Expo Go - Web: Press
win terminal for web browser
- iOS: Press
- Install Expo Go from App Store / Google Play
- Scan the QR code shown in terminal after
npm start
# Build for Android APK
npm run android
# Build for iOS
npm run ios
# Build for Web
npm run web- Launch App โ Welcome screen appears
- Tap "Start New Game" โ Game setup screen
- Configure Game:
- Number of players (2-6)
- Player names
- Starting chip stacks
- Blind amounts
- Pre-Flop โ Blinds posted, hole cards dealt, betting begins
- Flop โ 3 community cards revealed, betting round
- Turn โ 4th community card, betting round
- River โ 5th community card, final betting
- Showdown โ Winner selection modal appears automatically
- Fold โ Surrender hand and current bet
- Check โ Pass action (when no bet to call)
- Call โ Match the current bet
- Raise โ Increase the bet amount
- All-In โ Bet entire chip stack
- After river betting completes, showdown modal opens
- Select one or multiple winners using the dropdown
- Pot splits equally among selected players
- Tap "Award Pot" to complete the hand
TexasHoldemSimulator/
โโโ assets/ # App icons and images
โ โโโ icon.png
โ โโโ splash-icon.png
โ โโโ adaptive-icon.png
โโโ context/ # React Context for state management
โ โโโ GameContext.tsx
โโโ engine/ # Game logic and poker mechanics
โ โโโ gameEngine.ts # Core game logic
โ โโโ types.ts # TypeScript interfaces
โโโ screens/ # React Native screens
โ โโโ HomeScreen.tsx # Welcome screen
โ โโโ SetupScreen.tsx # Game configuration
โ โโโ GameScreen.tsx # Main poker table
โ โโโ ShowdownScreen.tsx # Winner selection & hand guide
โโโ utils/ # Utility functions
โ โโโ supabase.ts # Backend integration (future)
โโโ App.tsx # Main app component
โโโ app.json # Expo configuration
โโโ package.json # Dependencies and scripts
โโโ tsconfig.json # TypeScript configuration
# Install dependencies
npm install
# Start Expo development server
npm start
# Run on specific platform
npm run ios # iOS Simulator
npm run android # Android Emulator
npm run web # Web browser# Run tests (when implemented)
npm test# Lint code
npx eslint . --ext .ts,.tsx
# Type check
npx tsc --noEmit# Build for production
npx expo build:android # Android APK
npx expo build:ios # iOS IPAWe welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Follow the existing code style
- Add TypeScript types for new features
- Test on multiple platforms (iOS, Android, Web)
- Update documentation as needed
This project is licensed under the MIT License - see the LICENSE file for details.
- Poker Rules Reference: Official Texas Hold'em specifications
- UI Inspiration: Modern casino and poker app designs
- React Native Community: Excellent documentation and support
- Expo Team: Outstanding development platform
If you have questions, issues, or suggestions:
- ๐ Bug Reports: Open an Issue
- ๐ก Feature Requests: Create a Discussion
- ๐ง Contact: VersionVex
Enjoy authentic Texas Hold'em poker on your mobile device! ๐
Made with โค๏ธ by JitterX