🃏 Poker Preflop Strategy Game

Welcome to the Poker Preflop Strategy Game! This is a fun and interactive game where you can test and improve your poker preflop decision-making skills based on different hands and positions. 🎲

👉 Get ready to sharpen your skills and make the best moves at the table! 💪

💡🔗 Based on this strategy 📄🌐

🎮 Play the Poker Decision Game 🚀

📋 Features

  • Dynamic Hand Dealing: Randomly dealt poker hands.
  • Position-Based Strategy: Make decisions based on your position at the table.
  • Scoring System: Earn points for correct decisions and track your high score.
  • Streak Bonuses: Get extra points for consecutive correct decisions.
  • Editable Strategies: Customize the poker strategy to fit your preferences.
  • Game Over and Restart: Keep playing and improving!

🚀 Getting Started

Prerequisites

  • Node.js
  • npm (Node Package Manager)

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/poker-decision-game.git
  2. Navigate to the project directory:
    cd poker-decision-game
  3. Install the dependencies:
    npm install

Running the Game

To start the game, run:

npm start

This will launch the game in your default web browser. 🌐

🛠 Project Structure

  • constants: Contains the initial poker strategy and position constants.
  • logic: Contains the game logic for dealing hands and determining the correct decisions.
  • components/UI: Contains the UI components like CardDisplay, DecisionButtons, GameOver, RulesDialog, and SettingsDialog.
  • PokerGame.js: The main component that ties everything together.

🃏 Gameplay

  • Deal New Hand: Automatically dealt at the start and after each decision.
  • Make a Decision: Choose to Raise, Call, or Fold based on your hand and position.
  • Score Points: Earn points for correct decisions, with bonuses for streaks.
  • Game Over: The game ends when you lose all your lives. Restart to play again!

📝 Customizing Strategies

You can edit the poker strategy through the Settings dialog. Update the strategy JSON and save changes to see the effects in the game.

🤝 Contributing

Feel free to fork this project, submit issues, and make pull requests. Contributions are always welcome! 🎉

📜 License

This project is licensed under the MIT License. 📄


Enjoy the game and improve your poker skills! Good luck! 🍀