aljica / chess

A free chess website written in Javascript (Node - Express backend & Vue frontend)
0 stars 0 forks source link

Modify api/createGame endpoint #11

Open aljica opened 3 years ago

aljica commented 3 years ago

Check if user already created a game in the last X seconds. Should have a database table that keeps track of sessionID and timestamp of latest game creation. This should be a post request: play as white/black, time controls etc.