_ _
/\ (_(_)
/ \ ___ ___ _ _ _ __ __ _ ___ ___ _ __
/ /\ \ / __|/ __| | | | '__/ _` |/ __/ _ | '__|
/ ____ \\__ | (__| | | | | | (_| | (_| __| |
/_/ \_|___/\___|_|_| |_| \__,_|\___\___|_|
An endless racing game that runs in the terminal. 100% Python.
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 |
+ Please report issues if you try to install and run into problems!
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
To start the game, run either:
$ asciiracer
$ python -m asciiracer
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
+ If you think this is cool, fork it and make it cooler!
This might be great practice if you want to learn Python, and you can personally reach out to me if you have any questions about the simple but elegant code base.
- Color support.
- Curvy roads and more interesting tracks.
- Multiplayer/Competitive racing.
- Your creative idea.
If you encounter any problem or have any suggestions, please open an issue or send a PR.