Skip to content

HarveyFarms/mygalaxian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to my Galaxian!

This is a clone of the original galaxian, but with enough changes to make it mine.

list of classes

  • Game class, which contains the main methods that a game needs.
  • Background class, used to draw the stars, the texts and extra images in the background
  • Object class, a class containing an image, coords, and a rect, to draw and manipulate and object on the screen
    • Ship class, the ship that the user controls and shoots lasers from to “destroy aliens”
    • Wave class, the structure that maintains the positions and array of polymorphic aliens
    • Parent class for aliens, containing the proper methods so polymorphism will work on aliens
  • Laser class, for both the ship and the aliens
  • Explosion class, two circles drawn to seem like an explosion, when collision occurs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published