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

Install using pip:

pip3 install asciiracer

or clone the repository and install manually:

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

Start Game

To start the game, run either:

$ asciiracer
$ python -m 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 new. 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.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

asciiracer-0.1.2-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: asciiracer-0.1.2.tar.gz
  • Upload date:
  • Size: 6.0 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.2.tar.gz
Algorithm Hash digest
SHA256 b1f1c9cbb0345d4efdbc68815ae4f285b7644e3b8a1b30c39eb957e56d0cda51
MD5 613eb4cc8535b931c7da146ea4fd9ca9
BLAKE2b-256 bf2d6f5f048e2fea3a1c530d65b1128136091369562872a33fea12d65a1474ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: asciiracer-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2905a204cfcf423c05d3113539052da8f67d4dd48fbaf7856d61678fffa059ef
MD5 b2a6ace6a4e635a2864823b4791eb396
BLAKE2b-256 f10c9f9aa7f873d5eae413dab3f673ea65047af51fe3c40a49a5d22f606cfc27

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