Sightline - Internet Explorer
Address
https://freetolearn.world/sightline.html
free to learn.world
← Course Directory

Terminal project · 8 modules · Free

Sightline

Build an engine that works out a small game from its memory and compiled code, then aims and keeps hitting as the game gets harder to read.

Get the course on GitHub

The course ships its own two small games, and the lab runs them. Your engine reads a game’s file and memory and never runs the game itself.

What you’ll learn
Memory scanning, decoding WebAssembly, lifting compiled functions into expressions, least-squares fitting, and testing each finding against the game before relying on it.
Your project
Your own engine, which climbs ten levels of two small artillery games. Each level breaks something the engine relied on, and the last three are a game it has never seen.
How you’ll work
8 modules · 89 checks. Read each lesson in a local browser view or its text file. Write the engine’s nine files in JavaScript and check each step with Node.

What you’ll build

  • A memory search and a set of experiments that find where the game keeps the angle, the power, the wind and the flag, and an aim fitted to practice shots.
  • A decoder for the game’s WebAssembly and analysis passes that lift its functions into expressions. From them the engine builds a shot simulator, a reader for state that moves and is scrambled, and the flag’s path.
  • A loop that keeps every level inside its budget of rounds and shots. A small decision model picks what to test next from a menu your code writes, and the course measures its picks against a heuristic you write.

The game, Lob, is an artillery game written in C and compiled to WebAssembly. Anti-cheat engineering, part two defends the same game. The two courses are a pair so each side can be measured against the other. If you take both, that course’s last lesson explains how a small adapter, which you write and no check runs, lets your engine play against your own server.

Build a time-travel debugger, part two debugs the same game from the inside.

Before you start

You should be comfortable writing JavaScript for Node, with functions, arrays, objects, ES modules and async/await. The maths is high-school algebra, square roots, sine and cosine. Hexadecimal and bits are taught where they’re first needed, and no WebAssembly, reverse engineering or machine learning background is assumed.

The course asks for Node 22 or newer and a terminal. It was tested with Node 26.5.1 on macOS, from a fresh clone with an empty environment. Nothing needs a package install, an account, an API key or a network connection. Every check runs offline. Asking a real decision model is optional. It runs on your own computer through Ollama, a program that runs language models locally, and no check uses it.

The course covers its two games and nothing else. It doesn’t teach native programs, real games or getting past anyone else’s protections. Three AI learners finished every module from a fresh copy. No person has taken the course yet, and the 23-hour estimate is the author’s guess.

Clone and start

Clone the learner source, check out this edition and enter the course folder. Then open lesson 01, in a browser or in the terminal.

git clone https://github.com/itsHabib/free-to-learn.git
cd free-to-learn
git checkout 1b9702bab683d4cc5aa0c0a1cde27d5ef5d6b1de
cd courses/sightline
node lab.mjs serve
node lab.mjs lesson 01 ./work

serve prints a local address; open it to read the lessons and answer the practice questions. lesson prints the same lesson in the terminal and works before work/ exists. Don’t create work/ yet: lesson 01’s section “Choose how to start” gives the routes, and each one refuses a folder that already exists.

Write the important parts: type each listing the lesson prints into a marked region of your files.

node examples/start-01.mjs ./work write
node lab.mjs check 01 ./work

All 11 checks fail with “not written yet” until you write the code.

Start from working code: read each listing in your own file and run the command after it.

node examples/start-01.mjs ./work supplied
node lab.mjs check 01 ./work

Every lesson, 01 to 08, has its own start command with the same two routes, and each ends with a break-and-repair task and a new case you write yourself. Each failed check names the requirement, shows what your code returned and what was required, and points to the lesson section that covers it. node lab.mjs --help lists every command, and API.md gives every function you write.

The files in lessons/ hold the same text with a marker where each practice question goes. A pass shows your code met the checks’ cases. It doesn’t show that you learned what the lessons teach.

Exact learner source

The commands above use learner edition 1b9702bab683d4cc5aa0c0a1cde27d5ef5d6b1de. This static page doesn’t run or grade code.

Browse this exact course source

Give site feedback →

Course overviewInternet
Mission.txt - Notepad

Learning without paywalls.

Find what people pay to learn.
Build a great course. Give it away.

One course at a time.

Usage & privacy

Start