PyGame implementation of the classic Snake game in ~100 LOC.
Run your local pip package manager to install the main dependency, PyGame:
pip install -r requirements.txt
Run the game with: python snake.py
Use the arrow keys to move the snake head. Press 'Esc' to quit out of the game.
There will be a brief pause in the game that shortens as the snake collects food. The game will register key input, but with this pause.
PySnake is licensed under the Apache 2 license. See the LICENSE file for more details.