Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Poker Room - Multiplayer Poker Platform

A real-time multiplayer poker platform supporting multiple poker variants with a clean, modern UI.

Features

Current Implementation

  • Multiple Poker Variants: Texas Hold'em, Omaha, 5-Card Omaha
  • Real-time Multiplayer: Socket.IO powered real-time gameplay
  • Room System: Create and join private rooms with custom room codes
  • Modern UI: Clean, poker-table inspired design with animations
  • Live Text Chat: Real-time messaging system for table communication
  • Responsive Design: Works on desktop and mobile devices
  • Betting System: Full betting mechanics with blinds, raises, and all-ins

UI Enhancements (Latest Update)

  • Premium Design: Dark theme with gradient backgrounds and glass morphism effects
  • Poker Table Feel: Green felt table with realistic card and chip styling
  • Enhanced Cards: 3D card effects with suit-colored styling and hover animations
  • Smart Chip System: Color-coded chips based on value (green, blue, yellow, red)
  • Player Avatars: Colorful gradient avatars with player initials
  • Visual Feedback: Active player highlighting, dealer button, and turn indicators
  • Improved Typography: Inter font with better hierarchy and readability

Getting Started

  1. Install Dependencies

    npm install
  2. Start the Server

    npm start
  3. Open in Browser Navigate to http://localhost:3000

How to Play

  1. Create or Join a Room

    • Enter your name and buy-in amount
    • Create a new room or join with a 5-character room code
  2. Lobby Setup

    • Room host can configure blinds and select poker variant
    • Wait for at least 2 players to start the game
  3. Gameplay

    • Cards are dealt automatically
    • Use the action panel to fold, check, call, bet, or raise
    • Game progresses through pre-flop, flop, turn, and river
    • Best hand wins the pot at showdown

Supported Variants

  • Texas Hold'em: 2 hole cards, 5 community cards
  • Omaha: 4 hole cards, must use exactly 2 hole cards
  • 5-Card Omaha (Big O): 5 hole cards, must use exactly 2 hole cards

Technical Stack

  • Backend: Node.js, Express, Socket.IO
  • Frontend: Vanilla JavaScript, Tailwind CSS
  • Real-time: WebSocket communication for instant updates

Planned Features

  • Text chat system
  • Voice chat integration
  • Draw poker variants
  • Tournament mode
  • Player statistics
  • Spectator mode
  • Mobile app

Architecture

The application uses a simple client-server architecture:

  • Server manages game state and validates moves
  • Clients receive real-time updates via Socket.IO
  • All game logic is server-side to prevent cheating
  • UI is rendered client-side for smooth interactions

Contributing

Feel free to contribute by:

  • Adding new poker variants
  • Improving the UI/UX
  • Adding features like chat or tournaments
  • Optimizing performance
  • Fixing bugs

License

MIT License - feel free to use this code for your own poker projects!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages