Show or hide buttons based on game state