Skip to content
leshlush edited this page Nov 20, 2019 · 2 revisions

This repo contains finished code for the project "Planetary Explorer," taught in the enCode Create online courses Coding Level One and Java Part 4. After students follow all of the instructions, their code should look identical or similar to the code in this project. It is meant to run in the student IDE Greenfoot.

The "Planetary Explorer" project creates a platforming game where players control a character that is affected by gravity, can jump, and throw lassos at alien creatures to trap them in cages. The goal is to find all of the statues hidden in each level, which activates a door and allows the player to progress to the next level. The aliens move along predetermined routes.

This project is part of a unit that teaches object composition. Students are also exposed to the design patterns observer and factory method.

The two main major composite classes are PlayerEntity and AlienEntity. The below class diagrams represent the most important composition relationships that define those classes.

depiction of gameplay

Clone this wiki locally