RayCastDemo.lua
From codeTank
RayCastDemo.lua is a demo that is included with Brain Damage 1.2. It demonstrates a very simple raycasting technique - but doesn't provide any real game play.
Download it here: http://codetank.com/damage/1.2/RayCastDemo.lua
(Latest Update to Source Code: 1 Jan 2008)
Controls
- Up, Down, Left, Right - Move
Goal
There is no goal. This is just a demo to see how the raycasting technique works (in a general sense).
Homework
If you're feeling adventurous, you can try to make this into a game somehow. What I've done in the past is make it a maze game, where the user has to try to find the finish. For competition, you might time the user to see how long it takes them.

