-
Notifications
You must be signed in to change notification settings - Fork 11
Adding Black Jack Environment #93
Adding Black Jack Environment #93
Conversation
Adding Toy text(BlackJackEnv)
I have just added the blackjack for now to review if I am doing it the correct way. Others will follow shortly :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add a test case to make sure that this environment can pass some basic tests?
function BlackjackEnv(;natural=false,rng = Random.GLOBAL_RNG) | ||
# natural = flag to payout on a "natural" blackjack win, like casion rules | ||
action_space = DiscreteSpace(2) | ||
observation_space = VectSpace((DiscreteSpace(32),DiscreteSpace(11),DiscreteSpace(2))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you use MultiDiscreteSpace here?
The type will be more concise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright I'll change this to MultiDiscreteSpace
|
Changing from vectorspace to multidiscretespace
Adding test case for BlackJack
Is this right? @findmyway |
No description provided.