enable or disable controls based on game state