don't die when rendering an empty game state
remove client logic from game logic