Skip to content

cptharris/expert-waffle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 

Repository files navigation

expert-waffle

a recreation of the game Harbor Master in java

Graphics

Boats

small medium large

Maps

Sandy Shores Rocky Ridges The Raft

Screens

Title Map Selection Game Over

Notable Classes

RotatingPicture

  • like a regular Picture, but stores an angle and rotates the loaded image
Boat
  • extends RotatingPicture and defines boat-related variables and definitions
  • uses an arraylist of Position to define its next moves
  • stores Cargo and DockInfo information

Game

  • defines a game
  • includes a Map and an arraylist of Boat
  • also includes booleans to define the status of the game
  • spawns in new boats
  • handles painting all other objects

MapEditor

  • unstable, but can be used to add/edit map definitions
  • a map is defined with an image (in src/imgs/) and a txt file (in src/map-sectors)

Gameplay

  • press play on the title screen
  • select a map on the map selection screen, or use the scroll wheel or arrow keys ⬅️ ➡️ to rotate through maps
  • drag boats to dock when they enter the map
  • the score is displayed in the upper right corner during gameplay
  • to reset the game at any point, hit r

About

an experimental recreation of the game Harbor Master in java

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages