Can you land on the moon in one piece?
clang 3.3 or later (or a version of gcc that supports c++11), libsdl2-dev, libsdl2-ttf-dev
$ make
$ ./lunar_lander
Left and right apply torque to your spacecraft. Up and down increase and decrease thrust. Spacebar turns on your thruster.
$ ./lunar_lander -c
enables the computer controlled pilot.
You don't play, just watch the flight computer do its work.
Here's a gif of it!
All files except UbuntuMono-R.ttf
are under Creative Commons Attribution (CC BY).
See COPYING
for more details
UbuntuMono-R.ttf
is under the Ubuntu Font Licence.
See COPYING_FONTS
for more details