Snakes Pygame: Difference between revisions
So far, the snake can only move up or down. Fix this by completing the "Handle the remaining movement keys" TODO in the <code>move</code> method of the <code>Snake</code> class. Test your changes by re-running the game and moving your snake left and right.
So far, you have to press an arrow key for each movement of the snake. Wouldn't it be convenient to be able to just hold down an arrow key to keep moving our snake?
Test your changes by re-running the game and holding down the arrow key while moving your snake around.
I want to keep playing! So far, there's no way to quit (besides closing the window) or restart the game.