AS-kilta / as-kimble-minecraft

Minecraft server-side client plugin for https://github.com/Spoam/as-kimble-mobiili
0 stars 0 forks source link

Dynamic generation of the board #4

Open chiplet opened 2 years ago

chiplet commented 2 years ago

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.

chiplet commented 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.

chiplet commented 2 years ago

TODO:

Richer game state visualization: