How to Play "Win or Die" Game
Objective:
Take the last ball from the basket to win the game!
Game Rules:
- Players take turns removing balls from the basket.
- On your turn, you must take at least 1 ball.
- You can take up to the maximum number of balls allowed per turn (default: 5).
- The player who takes the last ball wins the game.
Game Setup:
- Enter your name
- Set the total number of balls (5-100)
- Set the maximum balls allowed per turn (1-20)
- Choose the difficulty level
- Select who starts first
Difficulty Levels:
- Easy: Robot makes more random moves and misses opportunities.
- Medium: Robot plays strategically most of the time.
- Hard: Robot plays almost perfectly, using optimal strategy.