P4 - Mazes: Introduction


Introduction

Since this assignment includes code for a UI application, let’s first take a moment to go over the distinct components of the code to frame the parts you will be implementing.

Application GUI

The mazes package contains the main application code for this assignment; find and run Main.java inside the package. This will launch a program that will (eventually) generate and solve mazes. If IntelliJ fails to run (e.g. cannot find symbol ExtrinsicMinPQ), remember to refresh Gradle manually through the Gradle tool window (in the upper right by default).

The GUI consists of two main regions: the large region at the top that displays the current maze, and a few options and buttons at the bottom.

In this project you will implement:

You’ll build these in two milestones: first generating mazes (Disjoint Sets and Kruskal’s), then solving them (Dijkstra’s).

Getting stuck?

The Debugging page has the recording of the November 4 debugging lecture, worked examples of tracing the test graphs by hand, and a checklist to go through before you come to Support Hours. It’s worth skimming before you start, not only after a test fails.

← Previous: Overview Next: Disjoint Sets →