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 usingwindows-curses
# 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
# 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: