Kingcitaldo125 / PySnake

PyGame implementation of the classic Snake game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PySnake

PyGame implementation of the classic Snake game in ~100 LOC.

Installing

Run your local pip package manager to install the main dependency, PyGame:

pip install -r requirements.txt

Running

Run the game with: python snake.py

Use the arrow keys to move the snake head. Press 'Esc' to quit out of the game.

Note

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.

License

PySnake is licensed under the Apache 2 license. See the LICENSE file for more details.

About

PyGame implementation of the classic Snake game

License:Apache License 2.0


Languages

Language:Python 100.0%