use macro for game state