Skip to content

CrimsonError/StarFighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

18 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

StarFighter Game by CrimsonError

๐Ÿš€ Description

A Java-based 2D space shooter game where you control a Ship to defend your space from enemy ships. This project demonstrates object-oriented programming (OOP) concepts like inheritance, abstract classes, and interfaces, along with the utilization of ArrayLists, loops, and conditionals for the AP Computer Science A Final Project.

โœจ Current Features

  • Player-controlled Starfighter โ€“ Move and shoot using keyboard inputs (Arrow Keys, Spacebar to Shoot)
  • OOP Design โ€“ Uses:
    • Inheritance (MovingThing โ†’ Ammo / Alien / Ship)
    • Abstract classes (MovingThing)
    • Interfaces (Moveable)

๐Ÿ› ๏ธ Installation & Running the Game

  1. Prerequisites:

    • Java JDK (version 8 or higher)
    • Git (optional, if cloning the repo)
  2. Clone & Run:

    git clone https://github.com/CrimsonError/StarFighter
    cd StarFighter/
    ./Main.java

About

StarFighter project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages