Simple JavaScript Maze game.
Goal of the game is to find your way through the randomly generated maze as fast as possible. Maze generation is implemented by 'Maze generation algorithm', more precisly, using the 'Randomized depth-first search', also known as 'recursive backtracker'. Player can move around the maze in 4 basic directions and can choose from 4 different difficulties. Each game is measured with timer and when the player wins the game, that specific time will save and is up to player whether he wants to save his score to database or not.
Entire application is made in JavaScript using little amount of jQuery. Saving data on server is handled with PHP script. Getting data from the server back to the user is made with asynchronous requests handled by AJAX, precisely with XMLHttpRequest Web API.
David Poslušný
Resources: