A racing game that runs in terminal
Project description
ASCII RACER
A racing game that runs in Terminal. 100% Python
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 from 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
Built Distributions
File details
Details for the file asciiracer-0.1.tar.gz
.
File metadata
- Download URL: asciiracer-0.1.tar.gz
- Upload date:
- Size: 5.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcc14f10cca626291bda301264554868c100e8b6ad69ccfec92842ac24e45838 |
|
MD5 | a80250227adb6ae5c2087b7d846178d3 |
|
BLAKE2b-256 | 246410e487a464e1721cd30894641f037b26fd11ff44ad8882c8e41b5f5d2667 |
File details
Details for the file asciiracer-0.1-py3.7.egg
.
File metadata
- Download URL: asciiracer-0.1-py3.7.egg
- Upload date:
- Size: 16.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8107262b97497cf7ea036e81302f7aadc0005a6fed4a441cc27cbce9e555ca71 |
|
MD5 | c014a7ae50448498747838dd12be184e |
|
BLAKE2b-256 | a7a6e1399c91d6c119404bdffb3e918a32762a837f131434606d333a2d1f3786 |
File details
Details for the file asciiracer-0.1-py3-none-any.whl
.
File metadata
- Download URL: asciiracer-0.1-py3-none-any.whl
- Upload date:
- Size: 8.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7da72a612a29dae4c401469c82fa7199037b6637410db255d2c2b628060f0e34 |
|
MD5 | a9e6f4afa8097fe69f0d5b630e8c186a |
|
BLAKE2b-256 | d71d49377988fd78cf19c9bdcee5e62e88f2d585fd7185c89a00ae45318b7c5e |