Skip to main content

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
    

Release files for retro-snake-game 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for retro-snake-game 1.0.2
File Size Uploaded
retro_snake_game-1.0.2.tar.gz 2.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for retro-snake-game 1.0.2
File Interpreter ABI Platform
retro_snake_game-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.0 MB

Release files / retro_snake_game-1.0.2.tar.gz

Download URL retro_snake_game-1.0.2.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
20c9af541e7c580c4b27ac1e564d2f688d0cd3e0c827261baf280874ea4c8c61
BLAKE2b-256 checksum
How to use checksums
14c37086f7a6ae57b36069d140db3d3ef41a0cc6ddf2da72dd1aeedded5db522
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.19

Release files / retro_snake_game-1.0.2-py3-none-any.whl

Download URL retro_snake_game-1.0.2-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0ace2bbd52d7a1b3abf2639830f473ca75446713884b56a9e68bdc7ed48dfe4b
BLAKE2b-256 checksum
How to use checksums
0e6dcd78112789b9b64a2e9cf83c4dd34ac2f01a7a0a1e7d978731757a3d3bd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.19

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page