Snakes Pygame: Difference between revisions
Content added Content deleted
imported>Jesstess |
imported>Jesstess |
||
Line 35: | Line 35: | ||
=== 2. Give snakes the ability to move in all directions === |
=== 2. Give snakes the ability to move in all directions === |
||
So far, the snake can only move up or down. Complete 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 === |
=== 3. Set a key repeat speed === |