Skip to main content

A retro-style snake game

Project description

retro-snake-game

Retro snake game with 8-bit charm

retro-snake-logo

Demo

Watch a quick preview below (GIF)

🔹 Preview (GIF)

Text Lens - Preview

Features

  • Classic Snake Gameplay: Navigate your growing snake to collect apples while avoiding walls and self-collision
  • Retro 8-bit Graphics: Animated pixel art sprites for snake segments, apples, and authentic retro aesthetic
  • Sound Effects: Nostalgic coin collection sounds, game start jingles, and background music
  • High Score Tracking: Persistent local high score saves to challenge your best performance
  • Smooth Controls: Responsive arrow key controls with intelligent direction handling
  • Dynamic Difficulty: Snake size increases as you grow, making the game progressively challenging

Installation

Prerequisites

  • Python 3.7 or higher

Install from PyPI

pip install retro-snake-game

Or:

# Install UV if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install retro-snake-game
uv pip install retro-snake-game

Run the application

retro-snake

Or:

python -m retro_snake_game

Install from source

  1. Clone the repository

    git clone https://github.com/adrirubio/retro-snake-game.git
    cd retro-snake-game
    
  2. Install the package

    pip install .
    
  3. Run the application

    retro-snake
    

    Or:

    python -m retro_snake_game
    

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

retro_snake_game-1.0.2.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

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

retro_snake_game-1.0.2-py3-none-any.whl (2.0 MB view details)

Uploaded Python 3

File details

Details for the file retro_snake_game-1.0.2.tar.gz.

File metadata

  • Download URL: retro_snake_game-1.0.2.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for retro_snake_game-1.0.2.tar.gz
Algorithm Hash digest
SHA256 20c9af541e7c580c4b27ac1e564d2f688d0cd3e0c827261baf280874ea4c8c61
MD5 49aaa194078ae904e71052cd17d50340
BLAKE2b-256 14c37086f7a6ae57b36069d140db3d3ef41a0cc6ddf2da72dd1aeedded5db522

See more details on using hashes here.

File details

Details for the file retro_snake_game-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for retro_snake_game-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0ace2bbd52d7a1b3abf2639830f473ca75446713884b56a9e68bdc7ed48dfe4b
MD5 d08bb3d6ebe0350280a4f45f630e876b
BLAKE2b-256 0e6dcd78112789b9b64a2e9cf83c4dd34ac2f01a7a0a1e7d978731757a3d3bd6

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