Open TiptonG opened 7 months ago
Notes:
Track and store game count and round count to enable the player to track chip data Maybe have it all be player localized? Engine default creates some human players, could create some passing methods for creating other player types??? Testing class would have methods to create different combos of players Poker engine main function could return the players for test class updating
I might still store a game/round ID somewhere, just so that I can update the 2d chip count array in each player properly. Honestly I could have each player track the current round/game, that way I can just have a method to record chip count that automatically increments things in the player, without needing to add too much info to the round and poker files.
Modify Poker Engine and Player to account for these changes. Poker Engine will take players as arguments, so that they can remain the same outside of games. Poker Engine will take a sequence of decks as an argument to use for the game. Players can track wins, and track chip count within games with a 2D array.
Testing Class will use existing classes to parse the test sequences, and pass a sequence of decks to the Poker Engine Testing Class will also create players and pass those to the Poker Engine so that data can be collected. Testing Class can store player chip data in a file (later make graphs) Testing Class can have different methods that create the players and then call the games with those players.