luchaoqi / spaceship

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python-based spaceship dodging game in terminal using curses (windows-curses), no pygame required.

Windows version of Python doesn't come with built-in module curses, but you can work around by using windows-curses

Linux

# unit test for linux
conda env create -f environment.yml -n spaceship # env name
# OR create a new env from scratch
conda create -n spaceship python
conda activate spaceship
# run the program
python test.py --canvas_height 30 --canvas_width 30 --diff_level 2

youtube link to demo

Windows

# unit test for windows
conda env create -f environment_win.yml -n spaceship # env name
conda activate spaceship
# run the program
python test.py --canvas_height 30 --canvas_width 30 --diff_level 2

demo

Some awesome games written in Python:

https://dafluffypotato.itch.io/

About

License:Apache License 2.0


Languages

Language:Python 95.4%Language:Shell 4.6%