I'm new to game server development. I'm facing this issue:
I want to develop a card game server, but I'm not sure about the solution to hold the game data while playing.
Example: In a poker game, when a player makes a move, the server will process the request and send it to all other players. But how will the game server know what the current state of the game is to do subsequent actions? Should I save all moves into database and server will look into it to know the current state?