Open skywiind opened 1 year ago
Commands to write game record
has kinda increased in complexity because I'm finding that the best way to implement the Game
class is a) to extend the Object
class (ew) b) to pass in the DBO for the Players
table.
That implies that we also need to change up the bot object itself to include two separate keyv instances configured with Player
and Game
namespaces to store these values separately.
Thus, I am adding an item to the task list for this issue, Create Player and Game namespaces
. This one will be ezpz
Next, I'm going to finish off the Game
class by adding:
Then I'll write the Player
class in much the same way, with placeholders for the elo stuff for now. I'll come back to her
I realized after finishing the Game
class that it made more sense to store the players in the same way, by creating an object and inserting that into the Players
table. This means I already have a bit of refactoring to do for the Game
class after I finish the Player
class.
Knocked that out and I'm leaving off with a weird bug where the game command is writing to the wrong table. Strange.
Next up is to devise a way to store: