Skip to content

Commit 18bdf01

Browse files
committed
validates
1 parent 7cf2b13 commit 18bdf01

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎example/curses/snake.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
def main(screen):
1313
"""
1414
Snake
15+
16+
Press 'q' to quit the game.
1517
"""
1618
screen.clear()
1719

@@ -120,5 +122,7 @@ def main(screen):
120122

121123

122124
if __name__ == "__main__":
125+
print(__doc__)
123126
print(main.__doc__)
127+
input("Press enter to begin playing...")
124128
curses.wrapper(main)

0 commit comments

Comments
 (0)