a recreation of the game Harbor Master in java
| Sandy Shores |
Rocky Ridges |
The Raft |
 |
 |
 |
| Title |
Map Selection |
Game Over |
 |
 |
 |
- like a regular
Picture, but stores an angle and rotates the loaded image
- extends
RotatingPicture and defines boat-related variables and definitions
- uses an arraylist of
Position to define its next moves
- stores
Cargo and DockInfo information
- 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
- 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)
- 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