here is a program i made its simpel and just make a cub that spin one way when you press left another when press up another when press right and move when press space
here is the code
make object cube 1,100
do
if leftkey()=1 then yROTATE OBJECT 1, OBJECT ANGLE y(1)+1
if rightkey()=1 then zROTATE OBJECT 1, OBJECT ANGLE z(1)+1
if upkey()=1 then xrotate object 1, object angle x(1)+1
if spacekey()=1 then move object 1,10
loop