herzbube / littlego-web

Little Go for the web lets you play the game of Go in a web browser in real time against a human opponent.
Apache License 2.0
0 stars 0 forks source link

Rewrite backend in JavaScript / Node.js #14

Open herzbube opened 5 years ago

herzbube commented 5 years ago

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.