Posted April 03, 2025 by Goutamraj
#Game Loop
Start: A new maze is generated with a diamond and an entry door.
Collect Diamond: Player picks up the diamond → Exit door appears → "Find the exit!"
Exit Maze:
If the player reaches the exit door → A new maze is generated.
If the diamond is not collected, the exit door does not appear.
Maze Reset: The old maze is removed, and a new maze is created with a new diamond and entry door.