Update the docstring in envs/toy_text/blackjack.py (#1829)

* Update blackjack.py

* Update blackjack.py

Co-authored-by: pzhokhov <peterzhokhoff@gmail.com>
This commit is contained in:
sorryformyself
2020-03-23 04:54:54 +08:00
committed by GitHub
parent c0860592f5
commit 54f22cf4db

View File

@@ -48,8 +48,8 @@ class BlackjackEnv(gym.Env):
Face cards (Jack, Queen, King) have point value 10. Face cards (Jack, Queen, King) have point value 10.
Aces can either count as 11 or 1, and it's called 'usable' at 11. Aces can either count as 11 or 1, and it's called 'usable' at 11.
This game is placed with an infinite deck (or with replacement). This game is placed with an infinite deck (or with replacement).
The game starts with each (player and dealer) having one face up and one The game starts with dealer having one face up and one face down card, while
face down card. player having two face up cards. (Virtually for all Blackjack games today).
The player can request additional cards (hit=1) until they decide to stop The player can request additional cards (hit=1) until they decide to stop
(stick=0) or exceed 21 (bust). (stick=0) or exceed 21 (bust).