Rewriting the backend in JavaScript / Node.js allows to reuse the game model JavaScript code so that the backend can also check whether a move is legal. Currently no such validation is performed, allowing a malicious JavaScript client to insert illegal moves into the game data.
Rewriting the backend in JavaScript / Node.js allows to reuse the game model JavaScript code so that the backend can also check whether a move is legal. Currently no such validation is performed, allowing a malicious JavaScript client to insert illegal moves into the game data.