A pygame implementation of the classic snake game
Project description
snakeySnake
Version: 0.1.1
Structure:
.
├── build # Compiled files (alternatively `dist`)
├── snakeySnake # Source files
├── data # Data used in the application
├── apple.png # The image used for apples
├── scoreboard.txt # Local record of scores
├── __init__.py
├── __main__.py # Main program file
├── button.py
├── context.py
├── controlScreen.py
├── enums.py
├── game.py
├── gameOverScreen.py
├── gameScreen.py
├── scoreboard.py
├── scoreBoardScreen.py
├── screen.py
├── snake.py
├── snakeDesignScreen.py
├── startScreen.py
├── tests # Automated tests
├── LICENSE
└── README.md
Requirements
python = ">=3.7" pygame==2.1.3.dev8
To install
Run pip3 install snakeySnake from command line
To run:
- Run
snakeySnakefrom the command line - Move using "ASWD" or arrow keys
- Collect points by collecting apples and survivng
- Game over if the snake runs into itself or any walls
Previous Versions
- v0.0.1: Classic snake game with keyboard controls and local scoreboard
- v0.0.2: Added tutorial and homescreen, pulled enums into separate file
- v0.0.2b: Patch release, fixed bugs with scoreboard not update or writing to file
- v0.1.0: Added capability to design snake and store snake design locally, refactored screens into classes to enable easier future development. Also moved shared object to context object
- v0.1.1: Fixing README
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
snakeySnake-0.1.1.tar.gz
(101.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
snakeySnake-0.1.1-py3-none-any.whl
(104.5 kB
view details)
File details
Details for the file snakeySnake-0.1.1.tar.gz.
File metadata
- Download URL: snakeySnake-0.1.1.tar.gz
- Upload date:
- Size: 101.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a1a3cba3276fdf86129c0f9ae434cb3a3a223b60ebeae7f9cdbebdb57cb285e
|
|
| MD5 |
0e084f7ef6cb8ea91f84bedc50fd056f
|
|
| BLAKE2b-256 |
cedba4873d931fcbaf0adb6de34f3e28474a50341d8e7b75796608654685e97d
|
File details
Details for the file snakeySnake-0.1.1-py3-none-any.whl.
File metadata
- Download URL: snakeySnake-0.1.1-py3-none-any.whl
- Upload date:
- Size: 104.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c990e803e70f0628b04e316b1636b84710748b03310255b2fb73612445d59901
|
|
| MD5 |
21a4d5b21d002b3651c0ed2c397487e9
|
|
| BLAKE2b-256 |
e1bfb15d24a16ecb9b1980cac4bd5851e877e7cf12fdc4df418edf351769554a
|