Skip to main content

A racing game that runs in terminal

Project description

ASCII RACER

PyPI version

A racing game that runs in Terminal. 100% Python

ascii-racer

Instructions

Collect as many alcoholic drinks as possible, while avoiding the Beer drinks. The game is only key-based.

Keys Role
a Move Left
d Move Right
w Accelerate
s Decelerate
q Quit game

How to set up?

Make sure you are running at least Python 3.6.0

Only dependency is curses module. Depending on your platform:

  • Linux or Mac: you're all set, as it will be installed by default.
  • Windows: you might have to run the game in Cygwin or a Windows Subsytem for Linux (WSL). Or you can try running pip install windows-curses

Install using pip:

pip3 install asciiracer

or clone the repository and install manually:

$ git clone https://github.com/UpGado/ascii_racer.git
$ python3 setup.py install

Start Game

To start the game, run:

$ asciiracer

Scoring

There are four different types of drinks that you can collect on the racetrack.

  • Vodka - 10 Points
  • Gin - 5 Points
  • $ - 1 Point
  • Beer - Negative 20 points

Contributions

If you encounter any problem or have any suggestions, please open an issue or send a PR.

ASCII-RACER is still in beta. If you are interested, contributions are highly welcome.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

asciiracer-0.1.5-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file asciiracer-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: asciiracer-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.3

File hashes

Hashes for asciiracer-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4ce32dbcb502a916b818ec1d0a2bd5f3cf3b1858488d3323d85ec1e57350ef3f
MD5 d1a201db339f45298aa37e937643144a
BLAKE2b-256 5f4cd770899b67e67da46cc29afbe4a56dae046f35d65aa630759b9e53b74272

See more details on using hashes here.

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