implement game states on the server