diff --git a/snake.py b/snake.py index 78ae293..cc9b966 100644 --- a/snake.py +++ b/snake.py @@ -63,6 +63,7 @@ while True: num2 = random.randint(1,16) apple_x = num1 * 30 - 30 apple_y = num2 * 30 - 30 + score=score+10 else: position.pop(0)