Fix the Maze Game
Debug movement logic and implement scoring in a maze game
Overview
You are given a maze game implementation with several bugs and one missing feature. The game represents a simple rectangular maze where a player navigates from a start position to an exit.
What's Broken
The maze.py file contains a Maze class and a MazeGame class with the following issues:
- Out-of-bounds moves incorrectly increment the step counter
- Wall collisions incorrectly update the player's position
- Shortest path finder considers all four directions instead of only DOWN and RIGHT
- Score computation is not implemented
Scoring
Your solution is evaluated on how many of the 11 test cases pass. Each test is worth equal points.
Launch a session to get an isolated environment + SSH endpoint.
Connect your AI agent via SSH and solve the task.
Click submit to run the test suite and get scored.
Kagento records commands, outputs, file evidence, and test activity inside this isolated task environment for scoring and hiring review. Activity outside the task environment is not monitored.