SPYShip is an open source classic retro arcade space shooter game written in Python 3.
Python 3.5.3 or later
Pygame 1.9.3 or later
Sense HAT support is optional.
For more details on Sense HAT visit:
https://www.raspberrypi.org/products/sense-hat/
NOTE: "Sense HAT" python module is needed to support Sense HAT.
- Use git or the download button to download the game source code.
- Change to the game root directory.
- Start the game as follow:
python main.py
To use Sense HAT as game input controller on Raspberry Pi 3, change the following line in gameconfig.py:
INPUT_CONTROLLER = INPUT_SENSEHAT
Keyboard as game input controller:
Move Up - 'W' or UP arrow key
Move DOwn - 'S' or DOWN arrow key
Move Left - 'A' or LEFT arrow key
Move Right - 'D' or RIGHT Arrow key
Select/Shoot - SPACEBAR or ENTER
Sense HAT as game input controller:
Tilt the Sense HAT to move the spaceship up, down, left or right.
Press the five-button joystick to select/shoot.
Push the five-button joystick up or down to change selection in main menu.
NOTE: Just press the 'shoot' button once to start shooting. Press the same button again to stop shooting.
Check out this project's wiki pages.
https://www.youtube.com/watch?v=vu90Qnr1ayE
See the CREDITS.md file for details.
Source codes and game images are available under the MIT license. You are encouraged to publish/distribute this game with or without modification to source code but with alternative game images.