Skip to main content
cli-gamesGames

Termiclanker

Learn Bash by scripting a robot

Works best on desktopTrainingtrainingpuzzle
$ termiclanker
Preparing launch…

What's the difference between an unstoppable killing machine and a useless pile of scrap metal? A brain.

Meet Termiclanker — hull designation KLNK-1 — a devastatingly obedient robot kitted out with powerful hardware it doesn't know how to operate. Help Termiclanker learn to navigate simple obstacles, defend itself from attack, and react to the world in real time.

Throughout each level you will add simple improvements to Termiclanker's firmware and build an increasingly capable robot — all in real Bash. Graduate from defense to attack, cut through enemy forces in hostile environments, and relentlessly pursue your target. The scripts you write can be saved, shared, upgraded, and applied at any level.

Out in the wild, all scripts will fail Termiclanker eventually — iterate and try again!

Factory Workbench

Learn Bash by writing scripts that control a robot, in factory levels and in base defense.

Durable workspace

~/klnk

Read levels/README.txt; start with factory/field-kit.sh. Your files remain yours between runs.

Sensors

  • look DIRECTION
  • inspect DIRECTION
  • scan

Actions

  • go DIRECTION
  • jump DIRECTION
  • defuse DIRECTION
  • attack DIRECTION
  • hide

Practice evidence

histogram · gif · replay · run receipt · account best

Ruleset: termiclanker-workbench-v1

Practices: Bash scripts · loops · functions · exit status · automation · state management

What you will see

CHAPTER 1 / LEARN THE CONTROLS1/3
klnk — shell

klnk>

GAME // TERMICLANKERSTANDBY

CHASSIS ONLINE // AWAITING FIRMWARE

Start it from the prompt

Usage

termiclanker [--level 1-40] [--seed N] [--base]

Aliases

klnk

Guides from the wiki

Opens the terminal in Termiclanker.

Run $ termiclanker