a game is implemented by both frontend and backend