70

GitHub - UpGado/ascii_racer: A racing game that runs in Terminal

 4 years ago
source link: https://github.com/UpGado/ascii_racer
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

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!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK