()
| 101 | scoreboard.update_scoreboard() |
| 102 | |
| 103 | def toggle_pause_resume(): |
| 104 | global game_state |
| 105 | if game_state == "playing": |
| 106 | game_state = "paused" |
| 107 | scoreboard.display_pause() |
| 108 | elif game_state == "paused": |
| 109 | game_state = "playing" |
| 110 | scoreboard.update_scoreboard() |
| 111 | |
| 112 | def restart_game(): |
| 113 | global game_state |
no test coverage detected