curl --request POST \
--url http://50.187.81.221:4000/api/v1/cubic/resetGame \
--header 'Content-Type: application/json' \
--data '
{
"gameID": "uniqueGame123"
}
'Resets the state of a specified game, returning it to its initial configuration (e.g., clearing ship placements, scores, and turn data).
curl --request POST \
--url http://50.187.81.221:4000/api/v1/cubic/resetGame \
--header 'Content-Type: application/json' \
--data '
{
"gameID": "uniqueGame123"
}
'Information required to reset a game, primarily the game ID.
Data transfer object for resetting a game to its initial state.
The unique identifier of the game to be reset.
Game successfully reset.