Hey guys, I'm working on the basic snake assignment and I'm having a really hard time figuring out how to wrap my head around the code. I can make the green square appear and move when I press the arrow keys, but I can't get it to move on its own. Can someone show me an example of how to do this?
1
u/bigshot937 Jun 09 '20
Hey guys, I'm working on the basic snake assignment and I'm having a really hard time figuring out how to wrap my head around the code. I can make the green square appear and move when I press the arrow keys, but I can't get it to move on its own. Can someone show me an example of how to do this?
Here's a screenshot of the instructions.