Skip to content

Commit

Permalink
fixed typo in gymnasium/envs/toy_text/blackjack.py, 2-10 instead of 2…
Browse files Browse the repository at this point in the history
…-9 (#1250)
  • Loading branch information
artemmiyy authored Nov 14, 2024
1 parent f5cd3b6 commit 90d04f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gymnasium/envs/toy_text/blackjack.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class BlackjackEnv(gym.Env):
The card values are:
- Face cards (Jack, Queen, King) have a point value of 10.
- Aces can either count as 11 (called a 'usable ace') or 1.
- Numerical cards (2-9) have a value equal to their number.
- Numerical cards (2-10) have a value equal to their number.
The player has the sum of cards held. The player can request
additional cards (hit) until they decide to stop (stick) or exceed 21 (bust,
Expand Down

0 comments on commit 90d04f2

Please sign in to comment.