Commit 257d264f by BellCodeEditor

save project

parent 7b9ac17b
Showing with 1 additions and 1 deletions
...@@ -57,7 +57,7 @@ while True: ...@@ -57,7 +57,7 @@ while True:
position.append((x, y)) position.append((x, y))
if x==food_x and y==food_y: if x==food_x and y==food_y:
num1=random.randint(1,22) num1=random.randint(1,22)
num1=random.randint(1,16) num2=random.randint(1,16)
food_x=num1*30-30 food_x=num1*30-30
food_y=num2*30-30 food_y=num2*30-30
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment