Skip to content

Simple implementation of the classic arcade game Space Invaders

Notifications You must be signed in to change notification settings

chii-vu/SpaceInvaders

Repository files navigation

Space Invaders

This is a simple implementation of the classic arcade game Space Invaders. It is written in Java and uses the Java Swing library for the GUI.

About the game

Space Invaders is one of the earliest shooting games. The aim (pun-intended) is to defeat waves of aliens with a laser cannon to earn as many points as possible. The player moves the cannon horizontally across the bottom of the screen and shoots at the aliens. If the aliens manage to land on the bottom of the screen, the game is over. The player can move the cannon left and right using the arrow keys and shoot using the space bar.

SpaceInvadersDemo.mov

Run the game

Locate the SpaceInvaders.jar and run it using the command java -jar SpaceInvaders.jar. The game should start up and you can start playing.

Controls:

  • Move left: Left arrow key
  • Move right: Right arrow key
  • Shoot: Space bar

UML Diagram

Screen Shot 2023-01-15 at 1 05 33 PM

Additional information

This game was written as a project for the course CMPT 270: Developing Object-Oriented Systems at the University of Saskatchewan.

About

Simple implementation of the classic arcade game Space Invaders

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages