Skip to content

nathanrw/space_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Game

build

A space game written in Python. It's currently a very simple arcade space shooter.

A screenshot

Dependencies

In order to run "Space game," you will need the following packages installed:

  • Python 2.7
  • Contents of requirements.txt
  • pytest (optional, for testing)

The easiest way to install the libraries is python2 -m pip install -r ./requirements.txt

How to run

"Space game" is a Python program. You run it with Python:

python2 ./run.py

Controls

Press F12 to print the controls to the console.

Running the Tests

You can run the tests like so:

python2 -m pytest

Profiling

You can run with profiling enabled like so:

./run.py --profile

which will spit out a file called 'profile_results' in the current working directory. You can view the results with

./bin/print_profile_results

About

A space game written in Python.

Resources

Stars

Watchers

Forks

Packages

No packages published