Use w or up arrow key to run forward and down arrow key or s to run backwards. use left and right arrow keys or use a and d keys or your cursor to turn. You have to still all the Gems before you die from the ninjas. It takes some practice but you will get it.
Credit to Griffpatch Tutorials for ray casting stuff and the Scratch team and William for some reason I know not. William bean 3, by yohoyaki