codex-coded-snake
codex-coded-snake is a lightweight Python package that delivers a retro-style Snake game with procedural music and sound effects. The game is built using Tkinter for the UI and native audio on Windows.
Features
- Classic snake gameplay with keyboard controls
- Dynamic procedural soundtrack generated in real time
- Minimal dependency footprint: standard library only
- Runs as a package via
python -m codex_coded_snake
Installation
pip install codex-coded-snake
Note: the packaged audio engine currently uses the Windows
winmmAPI. The game UI uses Tkinter, so a desktop Python environment is required.
Usage
Run the game from the command line:
python -m codex_coded_snake
Or import the package in your own Python code:
from codex_coded_snake import SnakeGame
SnakeGame().run()
Controls
Up,Down,Left,RightorW,A,S,D: move the snakeP: pause / resumeR: restart after game over
Package Structure
codex_coded_snake/main.py: game logic, audio engine, and entry pointcodex_coded_snake/__init__.py: package exportscodex_coded_snake/__main__.py: module entry point forpython -m
License
This project is released under the terms of the MIT License.
Metadata
Release files for codex-coded-snake 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| codex_coded_snake-0.1.1.tar.gz | 8.7 kB | Without provenance | Details for codex_coded_snake-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| codex_coded_snake-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for codex_coded_snake-0.1.1-py3-none-any.whl |
Total release size: 18.5 kB
Release files / codex_coded_snake-0.1.1.tar.gz
| Download URL | codex_coded_snake-0.1.1.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11ccd21020f1d3da8f47a46049fdc8fd12f490231f68137b7a4a60cef28b9e2a
|
|
BLAKE2b-256 checksum How to use checksums |
854dfd112094eebe0e82992e041b7a760c11e301c416f1937d8aafd24c239e1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.11.15 Windows/10
|
Release files / codex_coded_snake-0.1.1-py3-none-any.whl
| Download URL | codex_coded_snake-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1683064472ee7164bb11226d59e451a0b706bdd2043992e297561202f28e9355
|
|
BLAKE2b-256 checksum How to use checksums |
62003184343f5e9cd1465dc6fc41fd396e80c2aea5cab69a446faeed76594225
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.11.15 Windows/10
|
Security for codex-coded-snake 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.