Skip to main content

A terminal-based Snake game built with Textual

Project description

snek

Snake in the terminal. Built using the Textual Rapid Application Development framework.

Dependencies

  • Python 3.10+ (tested on Python 3.10, 3.11, 3.12, 3.13)

Installation

From PyPI (recommended)

pip install snek-tui

Development

uv sync

Usage

snek

Controls

  • Arrow keys or WASD: Move the snake
  • Space: Start game / Pause/unpause the game / Restart after game over
  • Enter: Toggle sidebar visibility
  • Q: Quit the 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

snek_tui-0.1.1.tar.gz (87.2 kB view details)

Uploaded Source

Built Distribution

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

snek_tui-0.1.1-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file snek_tui-0.1.1.tar.gz.

File metadata

  • Download URL: snek_tui-0.1.1.tar.gz
  • Upload date:
  • Size: 87.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for snek_tui-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9d180d407d4cd0f53f0e3b755c77c5a44a41bdf71852adc9d509ad226c111812
MD5 35fed2eb3e60bb4ba283cc237a67d219
BLAKE2b-256 7dac049c151582c4b618c927d5a97fe76734101eecf44b5892c054a2f3d2ef92

See more details on using hashes here.

File details

Details for the file snek_tui-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: snek_tui-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for snek_tui-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56755a8dbc5e891d76a4e38b08332128125af206eafed94dbc8f7b07ac9e92ed
MD5 ddee3ac248b9d9bea537e61d77dbfe7d
BLAKE2b-256 0c47ff0f869af3cd691bb6aad5ae4c086446ea3896a9a5371b08e4ad0444d867

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