Skip to main content
cli-gamesWiki

Lamplight

Pick up the key and reach the stairs in each of three small puzzle rooms, with undo for every move.

Lamplight in play
guidesView Game Page →Last updated 2026-10-15

Lamplight

How to play

Pick up the key in each of three rooms, then take the stairs. You win when you reach the stairs in room three and lose if sentinels take all your hearts.

Room one is safe. Sentinels guard rooms two and three: a sentinel shows a red warning for one turn, then hits the cells next to it, so step away or hit it first. Nothing moves until you do. Undo takes back a move, even after you lose.

Walk into a sentinel to hit it. Sprint recharges every four turns. Keys reset in each room, but your gear and score carry forward. There is no time limit.

ControlAction
← / ↑ / → / ↓move, or walk into a sentinel to hit it
W / A / S / Dmove, or walk into a sentinel to hit it
Space / Entersprint two cells and hit harder: press, then an arrow; press again to cancel. Needs the boots from room two
Uundo the last move, up to 120 moves
Fdrink the flask from room three and restore eight hearts

Score

The maximum score is 1,180: three room exits at 200, four shards at 100, and six sentinels at 30. All three layouts permit the full score. There is no time or health bonus, and undo restores the previous score along with the room.

Write your own approach

Start lamplight and run ./helper.sh & to follow the starter through the first room. Edit it with nano helper.sh. Use jobs to list helpers and stop to stop them. Type script or read ~/lamplight/LIVE-HELP.txt for the commands.

Use pass to spend a turn standing still. Use delay 200 to pause a helper for 200 milliseconds without spending a turn, and wait to join background jobs.

To try the published route through all three rooms, type scripts try lamplight-starter. To adapt a copy for live play:

git clone https://forge.cli-games.com/cli-games/game-starters.git ~/scripts/game-starters
lamplight
cd ~/scripts/game-starters/lamplight-starter
cp policy.sh helper-local.sh
chmod +x helper-local.sh
nano helper-local.sh
./helper-local.sh &

If you already have a clone, use it in place of a new one. After leaving the game, return to the example directory to record your edits:

cd ~/scripts/game-starters/lamplight-starter
git add helper-local.sh
git diff --cached
git commit -m "Adapt room helper for live play"

Keep LICENSE.txt and attribution when sharing. Cloning never runs a program or replaces edits.

Use man lamplight for the full command and sensor reference. The shared scripts library supports transferring and publishing saved scripts with attribution; its existing review and credit rules apply.

Play Lamplight