|
|
|
|
|
by soylentgraham
2188 days ago
|
|
Ditto; the client side code needs no game logic, only aiding UX; dont let the user click outside a minesweeper board, but if it does, the server still validates. I made a System inspired by boardgame.io (but it was too integrated with react for me), which means i can write the game on the server without writing any client code at all. the client gets a list of valid moves, and my debug view gets error messages and a bunch of buttons & drop downs for parameters. https://github.com/NewChromantics/PopNotPoker/blob/master/Se... here's multiplayer minesweeper:)
Http://not.poker All the real work is in the lobby code anyway. |
|