Skip to content

Commit 54dc756

Browse files
author
Chris Idema
committed
-made initial positions of snake and food smaller values of x and y so it fits in a smaller window (8*8)
1 parent ed8b391 commit 54dc756

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snake-game/snake.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
win.nodelay(1) # -1
1717

1818
# snake and food
19-
snake = [(4, 10), (4, 9), (4, 8)]
20-
food = (10, 15)
19+
snake = [(4, 4), (4, 3), (4, 2)]
20+
food = (6, 6)
2121

2222
win.addch(food[0], food[1], '#')
2323
# game logic

0 commit comments

Comments
 (0)