Gladiator 3D
June 19, 2014 ยท View on GitHub
JavaScript ray casting engine for pseudo 3D games. This implementation is not bound to any library (i.e. works with or without Prototype / JQuery) and should work with all recent browsers which support the canvas element.

Author
Gladiator 3D was written by Matthias Ladkau.
Based on:
Creating pseudo 3D games with HTML 5 canvas and raycasting tutorial by Jacob Seidelin http://dev.opera.com/articles/view/creating-pseudo-3d-games-with-html-5-can-1/
Ray-Casting Tutorial For Game Development And Other Purposes by F. Permadi http://www.permadi.com/tutorial/raycast/index.html
Lode's Raycasting Tutorial by Lode Vandevenne http://lodev.org/cgtutor/index.html
License
Gladiator 3D is released under the MIT license.
How to use
Best take a look in the example folder. There is a simple demo which demonstrates the basic concepts. And there is a more complex game demo which shows a playable game with all of the main mechanics working.