Skip to content

Final project in object-oriented programming in Technical College Reykjavík (Tækniskólinn), fall of 2018. Game inspired by Space Invaders and the President of Iceland.

Notifications You must be signed in to change notification settings

haframjolk/pizza-invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pizza Invaders

Overview

Pizza Invaders is a game inspired by Space Invaders. The objective is to avoid the pineapples that fall down the screen, as you do not want them on your pizza. You play as the President of Iceland, Guðni Th. Jóhannesson.

Screen Shot of Pizza Invaders

Controls

To start the game, press any key.

Move: Arrow keys (left and right)

Shoot: Space

Quit: Escape

Play in your browser

Pizza Invaders can now be played in the browser on GitHub Pages.

Setup (prebuilt)

Packaged, executable versions of the game for Windows, macOS and Linux (all 64-bit) can be downloaded from the Releases tab.

Setup (from source)

Requirements

Pizza Invaders uses Poetry is for dependency management.

Installation

Clone the repository to your computer and cd into it

git clone https://github.com/haframjolk/pizza-invaders.git
cd pizza-invaders

Set up an environment for the game

poetry install

Run the game

poetry run python game/main.py

Building packaged versions

Build an executable using cx_Freeze

poetry run python setup.py [MODE]

Replace [MODE] with the appropriate mode for your use case.

cx_Freeze modes

Mode Platform Output
build Any Folder
bdist_mac macOS .app bundle
bdist_dmg macOS .dmg disk image
bdist_msi Windows MSI installer
bdist_rpm Linux (Red Hat-based) RPM package

If the build is successful, you will find the output in either the dist/ or build/ directory, depending on the mode chosen.

Building for the web

poetry run ./build-web.sh

The build files can be found under build/web/.

About

Final project in object-oriented programming in Technical College Reykjavík (Tækniskólinn), fall of 2018. Game inspired by Space Invaders and the President of Iceland.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published