4 ms·
I think you summed it up with Hand is subset of Table is subset of Tournament. When creating a new table randomise which Player sits where, with Dealer being a
by ssss11 5y ago
I think you summed it up with Hand is subset of Table is subset of Tournament.
When creating a new table randomise which Player sits where, with Dealer being a bot Player that has rules on how it plays its hand.
Keep an isActive on the Hands so you know who’s turn it is, and a sequential number so you know which order they sit in at the Table
If you focus on one Table and figure that out I think you’ll replicate it easily to a Tournament of Tables
Good luck! Sounds fun!
I made a pascal blackjack game in high school and this has brought back some fond memories of fun coding