From d1d1272e17c82ac9a67e29777afd3e379a6e492a Mon Sep 17 00:00:00 2001 From: Geoffrey Allott Date: Tue, 6 Dec 2022 19:35:17 +0000 Subject: [PATCH] improve text alignment --- snake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snake.py b/snake.py index 0a22166..8d72131 100644 --- a/snake.py +++ b/snake.py @@ -180,7 +180,7 @@ class GameArea: self.paint() self.win.addstr(self.height // 2, (self.width - 9) // 2, 'GAME OVER') if self.score() > self.orig_highscore: - self.win.addstr(self.height // 2 + 2, (self.width - 10) // 2, 'HIGH SCORE') + self.win.addstr(self.height // 2 + 2, (self.width - 9) // 2, 'HIGH SCORE') self.win.refresh() self.win.nodelay(False) while True: -- 2.34.1