Snakes Pygame: Difference between revisions

imported>Jesstess
imported>Jesstess
Line 36:
=== 2. Give snakes the ability to move in all directions ===
 
So far, the snake can only move up or down. CompleteFix 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.
 
=== 3. Set a key repeat speed ===
Anonymous user