Here, our brave little caterpillars will use the legendary Dijkstra Algorithm to find the juiciest pollen grains across the garden maze!
Let’s show you how to guide your wriggly friend:
Plop down the caterpillar itself – this wriggly explorer needs a starting point for the journey!
Mark the delicious end goal – a dazzling pollen-packed flower. Only one, but oh, so worth it.
Means that you can add a new wall block to the grid – nothing gets past this!
Oops! Placed a wall in the wrong spot? Use this to clean up your buggy mess.
Add heavy leaves or sticky spots to a square. Just click and enter how sluggish the block feels.
Wipe the garden clean (except the start and end) – time to try a new pollen route!
Click the icon of your tool first, then click the garden square to sprinkle some bug magic on it.
Once your caterpillar’s adventure map is ready, hit “Use Dijkstra Algorithm” and watch the garden light up!
The gray blocks that are appearing are the ones that was visited by the algorithm and green ones are the path.
Ready to guide your fuzzy friend to sweet victory? Let the Caterpillar Quest begin! 🐛➡️🌸