refactor game state change logic
persist score between levels