Timeline for Simple Blackjack implementation
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 22, 2015 at 10:11 | comment | added | dabadaba |
You're probably right, I should move bet and state to Hand to make things easier, that will help implementing the missing features too. I placed them in Player because it makes more sense to think "a player placed or has a bet and has a current state (playing, busted, etc.)". What do you mean when you say "Hand should stay in Blacjack "? What methods would belong to Hand instead of Player and Dealer ? I think I will move bet out of Player , add a list of hands, each with a bet, that way I can implement split.
|
|
Jul 21, 2015 at 23:29 | history | answered | mdfst13 | CC BY-SA 3.0 |