Jump to content

Snakes Pygame: Difference between revisions

=== 4. Handle quit and restart key presses ===
I want to keep playing! So far, there's no way to quit or restart the game (besides closing the window).
Fix this by completing the "3 key presses" TODO in the <code>restart</code> function in <code>snakes.py</code>.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.