projects
/
snake.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
956c645
)
improve text alignment
author
Geoffrey Allott
<geoffrey@allott.email>
Tue, 6 Dec 2022 19:35:17 +0000
(19:35 +0000)
committer
Geoffrey Allott
<geoffrey@allott.email>
Tue, 6 Dec 2022 19:35:17 +0000
(19:35 +0000)
snake.py
patch
|
blob
|
history
diff --git
a/snake.py
b/snake.py
index 0a22166f40b22f659eaaa61db9d96b0554658605..8d72131f338eedd94f1abe15bb562eba516167b6 100644
(file)
--- 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: