Skip to content

luchaoqi/spaceship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published