The api/turns/next endpoint needs to be updated to accept the name and turnType of the character ending their turn. If the turnType is a player, then the player corresponding to the name needs to have their conditions updated. Namely their fatigue, hunger, thirst, and happiness decrement by 1.
REMEMBER to update the players field in the global state using the websocket.
The api/turns/next endpoint needs to be updated to accept the name and turnType of the character ending their turn. If the turnType is a player, then the player corresponding to the name needs to have their conditions updated. Namely their fatigue, hunger, thirst, and happiness decrement by 1.
REMEMBER to update the players field in the global state using the websocket.