Skip to content

Commit 72ddc31

Browse files
committed
Update Snake.py
1 parent 423428b commit 72ddc31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Snake.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def move():
110110

111111
# Move food to a random spot on screen
112112
x = random.randint(-290,290)
113-
y = random.randint(-290,290)
113+
y = random.randint(-290,250)
114114
food.goto(x,y)
115115

116116
# Add a segment

0 commit comments

Comments
 (0)