I’ve written my version of this game in C. I hope you may want to write your own version, but in not, then do try my version and use it as a base to do your own experiments!
To fetch, compile and run the code:
mkdir ~/ladder cd ~/ladder wget http://project-downloads.drogon.net/files/gpioExamples/ladder.c cc -o ladder -Wall -I/usr/local/include -L/usr/local/lib ladder.c -lwiringPi -lm sudo ./ladder
The LEDs will fire-up and in a few short seconds the game will be ready. You’re at the bottom of a well. Try to climb out!
Enjoy!
-Gordon