REM>LUNAR REM 1998/11/27 REM www.zyra.org.uk REM GOTOs and line numbers removed by RG Weston 2002/02/19 VDU15 H=1000 G=1.65 V=0 F=3000 M=300 CLS PRINT"Lunar landing game. The idea is to land on the surface" PRINT"without making too big a hole! Enter your fuel burn for" PRINT"each turn." REPEAT REPEAT PRINT PRINT"Height= ";H" metres " PRINT"Speed = ";V" metres/sec " PRINT"Fuel = ";F " " INPUT"Burn = "B IFB>M PRINT"Maximum fuel burn is ";M:VDU7 IFB<0 PRINT"You can not burn NEGATIVE FUEL!":VDU7 IFB>F PRINT"You only have ";F" fuel remaining":VDU7 UNTIL B0 OR B5 THEN PRINT''"You crashed into the surface at ";V" metres per second!" PRINT'"You made a hole ";V*V/25" metres deep" ENDIF ENDPROC