Serban8 / Triviador-ModernCpp

1 stars 0 forks source link

Create route for starting the game #53

Open Serban8 opened 1 year ago

Serban8 commented 1 year ago

We need to create a route for starting the game.

After start game has been voted or 4 players have been entered in the waiting room the game needs to be started. This should be done via a separate path

The URL should look like this: <ip>:<port>/startgame Handling this path means creating the Game object that will correspond with the actual game.

The server should return 200 OK if successful and 500 INTERNAL SERVER ERROR if not.