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 🚀
- 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!
- Node.js
- npm (Node Package Manager)
- Clone the repository:
git clone https://github.com/your-username/poker-decision-game.git
- Navigate to the project directory:
cd poker-decision-game
- Install the dependencies:
npm install
To start the game, run:
npm start
This will launch the game in your default web browser. 🌐
- 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
, andSettingsDialog
. - PokerGame.js: The main component that ties everything together.
- Deal New Hand: Automatically dealt at the start and after each decision.
- Make a Decision: Choose to
Raise
,Call
, orFold
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!
You can edit the poker strategy through the Settings
dialog. Update the strategy JSON and save changes to see the effects in the game.
Feel free to fork this project, submit issues, and make pull requests. Contributions are always welcome! 🎉
This project is licensed under the MIT License. 📄
Enjoy the game and improve your poker skills! Good luck! 🍀