Skip to main content

A pygame implementation of the classic snake game

Project description

snakeySnake

Version: 0.1.0

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
    ├── game.py
    ├── scoreboard.py
    ├── snake.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 snake-cli from 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

Project details


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.0.tar.gz (101.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snakeySnake-0.1.0-py3-none-any.whl (104.4 kB view details)

Uploaded Python 3

File details

Details for the file snakeySnake-0.1.0.tar.gz.

File metadata

  • Download URL: snakeySnake-0.1.0.tar.gz
  • Upload date:
  • Size: 101.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for snakeySnake-0.1.0.tar.gz
Algorithm Hash digest
SHA256 211dfd15d505c8b50f3bb76556c39dc4c69c39d5252f744135a4b909d52cfd61
MD5 8846cd31e981f692f4066759e23c5513
BLAKE2b-256 89e4c4eae12fdbc78eba9e2bc95ddf8a47ff3ffa10b7dabeb992bf655e0fee53

See more details on using hashes here.

File details

Details for the file snakeySnake-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: snakeySnake-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 104.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for snakeySnake-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4efd2fe50c33f4994b01ff7b6416b1fdfcac981a06b871799bb412066f28860e
MD5 531c3431cd869ee874e5b5b32af8a8f0
BLAKE2b-256 4983b96f56b4cebcb5c42514c54b2a90935f42fdc9f87b810eb2f6cb5889217f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page