9) Mini Maze (Arrow Keys)

9) Mini Maze (Arrow Keys)

Use arrow keys to reach the goal square.
keyboardcollision
Status: Ready

How it works: Grid encoded as a 1D array; player moves if next cell isn’t a wall. Checks for goal collision.

Learning outcomes: keyboard listeners, bounds checking, grid math.