Snakes Pygame: Difference between revisions

Content added Content deleted
imported>Jesstess
imported>Jesstess
Line 28: Line 28:
== Project steps ==
== Project steps ==


=== 1. Familiarize yourself with <code>snakes.py</code> ===
=== 1. Familiarize yourself with codebase ===

* What is in <code>snakes.py</code>? What parts of the game is pygame responsible for?
* What is in <code>objects/snake.py</code>? What actions can a snake take?
* What is in <code>objects/food.py</code>? What determines where food shows up on the screen?


=== 2. Give snakes the ability to move in all directions ===
=== 2. Give snakes the ability to move in all directions ===