♠️♥️ Game rules ♦️♣️
Since this is a simple implementation, only the basic rules have been adopted.
You play against the dealer. Your goal is to reach a higher card value than the dealer, but not to exceed 21.
♠️ Gameplay
- The game is played with a deck of 52 cards.
- The deck is shuffled three times before the game starts.
- The dealer deals two cards to the player and two cards to the dealer.
- If the player gets an ace and a 10 card, he gets a blackjack and wins immediately.
- The player can choose to hit or stand.
- If the player stayed, the dealer will hit until the total is 17 or higher.
♥️ Betting
- You start with 500 credits.
- You can bet with 10, 25, 50, or 100 credits and only once per round.
- If you lose the round, you lose your entire bet.
- If you win, you will receive double your bet as a payout.
- If you win with a Blackjack, you will receive 2.5 times your bet.
- In case of a draw, you will get your bet back.
- If you don't have enough credits, you can reset the game.
♦️ Card values
- Ace is worth 1 or 11 points.
- Jack, Queen and King are worth 10 points.
- All other cards are worth their face value.
♣️ Other
- Splitting is currently not implemented.
- Doubling Down is currently not implemented.
- Insurance is currently not implemented.
- Possibly the features will be included in the future.