From d7cd4819d9355686c7c0f50c49756be07e630a2a Mon Sep 17 00:00:00 2001 From: jose1711 Date: Thu, 18 Aug 2016 23:55:50 +0200 Subject: [PATCH] Fix typo in comment --- wormy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wormy.py b/wormy.py index b8ee209..8335c71 100644 --- a/wormy.py +++ b/wormy.py @@ -83,7 +83,7 @@ def runGame(): if wormBody['x'] == wormCoords[HEAD]['x'] and wormBody['y'] == wormCoords[HEAD]['y']: return # game over - # check if worm has eaten an apply + # check if worm has eaten an apple if wormCoords[HEAD]['x'] == apple['x'] and wormCoords[HEAD]['y'] == apple['y']: # don't remove worm's tail segment apple = getRandomLocation() # set a new apple somewhere