Book Image

Raspberry Pi Gaming - Second Edition

By : Shea Silverman
Book Image

Raspberry Pi Gaming - Second Edition

By: Shea Silverman

Overview of this book

Table of Contents (16 chapters)

Galaga: Hyperspace


Galaga: Hyperspace is a game based on classic shoot 'em up games like Galaga and Galaxian. The goal of the game is to destroy each wave of aliens while avoiding the bullets they hurl your way. Each wave gets more and more difficult, and you can only get hit once before losing a life.

Installing and running

Galaga: Hyperspace is available in the Raspbian software repositories, and can only be played on the desktop environment using the following steps:

  1. At the command line, type sudo apt-get install -y xgalaga.

  2. To run the game, make sure you are on the desktop environment by typing startx and then pressing Enter.

  3. Once you are on the desktop, click on the menu button at the bottom-left and highlight Games. Under the sub menu, Galaga will be an option. Click on it to start the game.

Learning the controls

Here is a list of the keys that you would require in the game:

Action

Keyboard

Left

Left arrow

Right

Right arrow

Start Game with keyboard controls

K

Start Game with mouse...