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.
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.