Skip to main content

Command-line version of the classic Snake game.

Project description

Snake

Command-line version of the classic Snake game.

GIF showing gameplay

Usage

You should be able to run the application using the following command:

ruben-snake-cmd

Note that I've only tested this on Linux.

The application should generally be self-explanatory.

One thing to note is the settings screen, reached by pressing S on the title screen. Currently, the only option is to enable/disable the snake wrapping around the edge of the window by pressing B. If disabled, the snake will "die" on reaching the edge of the window.

There is also a controls screen, reached by pressing C on the title screen.

In-Game Controls

Key(s) Action
, , , Change direction
Q End game

Note that these only apply in-game and not on other screens, such as the title screen or settings screen.

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

ruben-snake-cmd-0.2.2.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

ruben_snake_cmd-0.2.2-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

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