zkwip / CMDSweep

Command-line interpretation of the classic Minesweeper
MIT License
0 stars 0 forks source link

Board decoupling #25

Open zkwip opened 2 years ago

zkwip commented 2 years ago

Split the BoardState class into a static state class and an interface to talk to it, in order to fit the network connection in between. This way you can still read and interact with a board if it is not run in the same instance

Things to pay attention to in this case, is the handling of the cursor, especially when there are multiple in the case of multiplayer