在终点站进行的比赛
asciiracer的Python项目详细描述
ASCII赛车
在终点站进行的比赛。100%Python
说明
尽可能多地收集酒精饮料,同时避免饮用Beer
饮料。这个游戏只基于密钥。
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!
确保至少运行python 3.6.0
使用pip安装:
pip3 install asciiracer
或者克隆存储库并手动安装:
$ git clone https://github.com/UpGado/ascii_racer.git $ cd ascii_racer && python3 setup.py install
开始游戏
要开始游戏,请运行:
$ asciiracer $ python -m asciiracer
评分
你可以在赛马场收集四种不同类型的饮料。
- 伏特加-10分
- 金酒-5分
- $-1分
- 啤酒-负20分
贡献
如果您遇到任何问题或有任何建议,请open an issue或send a PR。
ascii-racer仍然是新的。如果您有兴趣,我们欢迎您的贡献!