Increases score and updates the display.
(self)
| 41 | self.write(f"Score: {self.score} | High Score: {self.high_score}", align=ALIGNMENT, font=SCORE_FONT) |
| 42 | |
| 43 | def increase_score(self): |
| 44 | """Increases score and updates the display.""" |
| 45 | self.score += 1 |
| 46 | self.update_scoreboard() |
| 47 | |
| 48 | def reset(self): |
| 49 | """Checks for new high score, saves it, and resets the score.""" |
no test coverage detected