google calc84 and there is a SBSite that has the raycasting game and library. The code has comments on how to use it. Bu it isn't super simple. :]