Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 441 Bytes

README.md

File metadata and controls

7 lines (5 loc) · 441 Bytes

PathFinder.java contains the main method.

The program recursively finds commands that will lead the player to the destination. On the way there is water, and blocks that can be picked up and placed down. The player cannot walk forwards if the height difference to the next position is greater than one block. The program will find the shortest sequence of commands necessary to reach the destination.

Developed for a task in class at TUM.