Open chiplet opened 2 years ago
One potential implementation method for this would be to implement a BoardView
class that's responsible for rendering the game state using minecraft blocks. In practice, each BoardView
instance would hold a reference to the game state and should be able to draw the entire board from this information as well as clean up after itself (remove the blocks) after the game ends.
TODO:
Richer game state visualization:
It should be possible to dynamically generate a new kimble board for each game instance. After the board has been generated in the starting state it should be then also possible to modify the board blocks to convey information about game state.