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 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