add outline game state and rendering code