Jump to content

Snakes Pygame: Difference between revisions

imported>Jesstess
imported>Jesstess
=== 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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.