Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 627 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 627 Bytes

Switch Spaceship

A game I built using the fundamentals of OOP.

Description

To play the game: switch the spaceship to match the color of the incoming ball using spacebar. You have to be fast!

To make it more challenging I added an alien UFO that comes from the side. Press S to activate the shield and avoid collision with the UFO.

Losing condtions:

  • Colliding with the alien without activating the shield.
  • Color of the spaceship doesn't match the ball's color at intersection.

Technologies Used

HTML5, CSS3, Canvas, JavaScript, OOP, p5.js

Demo

https://ghalia98.github.io/switch-spaceship/