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, run python3 -m asciiracer to begin the game

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 Distribution

asciiracer-0.1.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distributions

asciiracer-0.1.1-py3.7.egg (16.6 kB view details)

Uploaded Source

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: asciiracer-0.1.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • 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.1.tar.gz
Algorithm Hash digest
SHA256 c7b98359ee5321f6472e3f33266da91c8b6aade018587eb92610d018f7836cf4
MD5 bf8c7f537c07a338230e151755b33192
BLAKE2b-256 ed0fcde05b4d77a0b5c1b18dbcf30553465147a069c51767e5d11ca4c94d14a2

See more details on using hashes here.

File details

Details for the file asciiracer-0.1.1-py3.7.egg.

File metadata

  • Download URL: asciiracer-0.1.1-py3.7.egg
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • 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.1-py3.7.egg
Algorithm Hash digest
SHA256 67b51e8e45787edcfc807f559cf8a9027b41d19e3241dbcd791cd31e516f5ea5
MD5 7630c4a8dee973d78b1019e41514e2b1
BLAKE2b-256 c0054a255329eef949f28f69b37f2cff16a6f36afbc84c6e16bb2969f1f61f19

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asciiracer-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 74504b500036fdf9f1b711c5c9b3d9a9083cebb104dd2f14c3cabf88fd40112e
MD5 7abe93ccd8dc753f098b03e656413dfe
BLAKE2b-256 c91c4c4d7ee865515f4eb09b06daa9e760490a241254c632aa5b573d7cb3afd7

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