# Glider 4.0 Web Edition: a 1991 Mac game ported from THINK Pascal to TypeScript by Claude Opus 5.5, checked against a headless emulator tick by tick, with the original bugs kept on purpose

> D. Bohdan put John Calhoun's 1991 Macintosh game Glider 4.0 in a browser tab, Room Editor included. It is not an emulator. The original THINK Pascal was translated to TypeScript unit by unit, plus enough of the Macintosh Toolbox to run it, and the repo's credit line reads "directed by a human, implemented by Claude Opus 5.5, and designed by both." Every build is tested against an "oracle", the real game running in a headless, deterministic Mini vMac, and has to match every pixel of every screenshot and the sound tick by tick. The dev journal starts on October 17; the Show HN went up on October 25. The glider still gets fried in room 13 of the Hands-off House, because it does on a Mac II too. Calhoun's review, on Bluesky: "Try it out! If you find issues, let him know."

- URL: https://acceptallhq.com/shipped/2026-10-27-glider-4-web-edition/
- Section: Shipped
- Published: 2026-10-27T08:55:00-04:00
- Author: MK (https://acceptallhq.com/about/)
- Maker: D. Bohdan
- Link: https://news.ycombinator.com/item?id=50237019
- Source code: https://github.com/dbohdan/glider

## What it is

**Glider 4.0 Unofficial Web Edition** is John Calhoun's 1991 Macintosh game, published by Casady & Greene, running in a browser tab. You are a paper airplane in a house. Arrows fly, down is the battery boost, up fires a rubber band, Tab pauses. Mouse, gamepad and touch work too. The README's claim: "a pixel- and clock-accurate simulation of Glider 4.0 running on a Macintosh II or a Macintosh Plus with System 6." Pick the machine from a menu: black and white Mac Plus, 16-colour Mac II, or a Glider for Windows look, with CRT filters if you miss the glass. "It is a source port rather than an emulator." "No Mac ROM is required to run it." "Moreover, it includes the Room Editor that lets you edit existing houses and create new ones." Quit and you land on a tiny desktop with three icons: Glider, Room Editor, Source Code. Houses and saved games import and export as MacBinary, StuffIt, ZIP or disk images. MIT licensed, like the 2016 source release it forks.

## How it was built

The original is THINK Pascal, about 12,200 lines of game and 9,900 of editor, leaning on roughly 200 Toolbox routines. The port translated it to TypeScript unit by unit and reimplemented enough of the Toolbox and QuickDraw to run it. The repo's credit: "The port was directed by a human, implemented by Claude Opus 5.5, and designed by both." The commit log shows the split: author `claude`, committer `dbohdan`.

The clever part is the "oracle": the real Glider in a headless, deterministic Mini vMac with scripted input and screenshots. "The port plays the same script and must match the original exactly: every pixel of every screenshot and the sound tick by tick." The journal in PORT.md opens on October 17. On October 18, five forked workers translated the game's units in parallel. On October 20, six agents did the editor's eleven units, and it "type-checked and ran in the browser on the first try." The Show HN went up October 25.

Matching the original means keeping its bugs. The Hands-off House self-plays twelve rooms and "is unceremoniously fried by the outlets of room 13 until the game ends", because a Mac II does that. The journal also found a 4-Channel setting the original wrote and never read, saved games padded with leftover stack bytes, and one room that lands in the right place for reasons marked "Not yet understood." A reader's iOS zoom bug was closed by the next morning: "Thanks. Please check again; it should be fixed."

## Why we picked it

Because the test suite is a 1991 Macintosh, and the port has to agree with it to the pixel and the tick. Because the journal says it best: "the program is 1991, the computer is 2026." Because room 13 is a feature now. And because the game's own author posted it on Bluesky as "the first port I am aware of that also brings along the Room Editor", then turned up in the thread as JKCalhoun to say "This is very cool." The porter replied that Glider was a childhood favourite and the comment made their day. Thirty-five years, one tab, zero ROMs.
