Neural Ninjas Β· DSA Simulation Labs Β· Lab 21

πŸ€ The Rat's Breadcrumb Trail

Every cell the rat enters gets a breadcrumb. Hit a dead end with nowhere new to go, and the rat eats its way backward β€” one breadcrumb at a time β€” until it reaches a cell with an unexplored direction.

Explorer Log

Controls

πŸ€ RatI try down, right, up, left β€” in that exact order β€” at every cell. First open, unvisited square wins.
🍞 BreadcrumbI mark a cell as "currently on the path." If the rat backs out of me, I disappear β€” but the cell stays remembered as a dead end.
Pick a level above to begin.