Created a separate module to render a game state