A real-time multiplayer poker game built with React and Socket.IO, supporting live betting, chip tracking, folding logic, and automatic showdown evaluation.
To install and run the project locally, follow these steps:
git clone https://github.com/GitProjsStack/poker-room-multiplayer.git # Assuming you are at the root of the project -> ...\poker-room-multiplayer> cd server npm install cd .. npm install
Then start the server by running:
node server/index.js
Wait until you see the message:
✅ Server running on http://localhost:xxxx (usually 3001)
Next, start the client UI with:
npm start
This will open the client at http://localhost:3000.
Each player should open their own browser tab at localhost:3000 to join the game and start playing.
- Create or join private poker rooms via room code
- Real-time multiplayer gameplay with live betting
- Actions: Fold, Call (minimum 2 chips, no checking), Raise
- Pot and bet size synced across all players
- Player chip balances updated in real time
- Folded players are skipped and locked out of further actions
- If one player remains (everyone else folds), they win the pot and a new round starts
- Community cards dealt progressively during each betting loop
- Final showdown using
pokersolverto determine winner - Winner’s chips awarded before next round starts
- Clean UI: player hands, community cards, game messages, and error feedback
- Host has control over starting the game
- Players create or join a room with a name and code
- The host starts the game
- Each player receives two private cards
- Players take turns to Fold, Call, or Raise
- Betting continues until everyone matches the bet or folds
- Community cards are revealed in rounds
- If only one player remains, they win by default
- Otherwise, a showdown reveals all hands and evaluates the best one
- Chips are awarded, and the game continues with a new round (same players and chip counts)
pokersolver— evaluates the best hand at showdown