lukew3 / congol

Conway's game of life for 2 players
https://congol.net
GNU General Public License v3.0
4 stars 0 forks source link

Check that move came from the correct user serverside #67

Closed lukew3 closed 2 years ago

lukew3 commented 2 years ago

In receiveMove, you could check that the userId matches the userId of next up. Maybe check if the length of moves is even to determine who is next up. This might add more latency than it's worth.

102 will fix this