Lightbot

Teaching programming to everyone through gaming.

Tommy Nyquist
surviving life
5 min readSep 4, 2017

--

Lightbot is an amazing game for all ages, and it teaches programming in a very fun way. It starts off being very approachable, but after a while it definitely gets challenging enough for most people. This post focuses on the standard Lightbot game for Android.

In the game you control a cute little robot that will do as you command. The game mechanics are simple, and you drag-and-drop commands in a particular order onto your programming sheet. After you’ve input the correct commands, you press Play, and see the robot perform the commands you instructed. The goal is each time to light up all the blue squares by turning on the little light on the top of the robots head.

The game starts off with the basics of moving, turning on the light, turning and jumping. Later, you learn about collecting your commands into procedures. After that you learn about a concept call overloading before you head straight into loops and conditionals. In the end, there are a few challenge levels you can solve.

Below, you can find all levels solved such that the star-rating is achieved, but if you think you might like the game and want to play it, I advice you not to look at this site, as it literally only contains spoilers for the whole game. But if you’re stuck and need an example solution, this might be for you.

Section 1 — Basics

Section 2 — Procedures

Section 3 — Overloading

Section 4 — Loops

Section 5 — Conditionals

Section 6 — Challenge levels

--

--

Tommy Nyquist
surviving life

Dog loving tech geek, trying to make life with Google Chrome better. https://tommynyquist.com/