I made a new mesh for the walls, with a lot more vertices. A texture and bump mapping texture are applyed to the mesh too.
To simplify the collision detection, i put simple boxes delimitating the walls, which contains only 4 vertices /wall.
To update the life status of the player, i made a really simple gui, which contains only the life value of the player.
The GUI is made by html tags, which are rendered directly by the browser: When the player is hit by something, the node value is updated.
When the player dies, a camera animation zoom to the player position.
When done, the player is respawned in the start position of the maze, and all the ennemys are respawned too.