I use php write a maze function , it based on algorithm of random travel graph .
Then I use jQuery CSS PHP HTML and include the maze function to write a simple maze game:
I debug it in firefox and it works well:
this place had a picture,I will upload it a week later
Set the maze rows and columns then begin.
Press direction key to move the green point to the red point then you win haha