The maze wasn't hard. You could use a flood-fill algorithm to find the best pathway, but the difficult part was the walls would ruin the order at set times. Moreover, stepping on trap triggers would also bring forth danger.
"Counting down... 10, 9..."
The eerie voice rang out again.
When the timer was up, the maze will automatically change if we haven't found the correct path.
Once the walls move, the rats below would swarm out. We'll be stuck in this room and get bitten to death by rats.
Violette had started to panic. She was so afraid she didn't move at all.
"5, 4, 3..."
Just as the timer was about to end, I stepped on a piece of brick in the corner.
In the shortest amount of time, I solved the equation on the upper part of the maze, then... I chose the corresponding location of the brick tile.