game-dev
3 posts, 45 min of reading. Spans show reading time on a 0 to 70 min scale.
An engineering checklist for a purely static game: saving, input, typesetting, and publishing in The Road We Came
The Road We Came has no backend, and the words players write never leave the browser. This post gathers the engineering details it took care of into a checklist: saving and refreshing, how tests walk through a whole journey, Chinese input methods and mobile keyboards, the vertical scroll and fonts, wind synthesized in the browser, bilingual link previews, zips that are byte-identical every time, visit counting that never collects the text, and the Dependabot and CI setup.
Reading time: 14 minLetting a sentence drift on the road: the retelling rules and summit scoring in The Road We Came
The Road We Came is a five-minute browser game: before you set out, you write down one reason for the journey; the people along the road retell it again and again, and at the summit you write it back from memory. This post covers how the retelling is built from a few word lists and a seeded random number generator, how the summit scores with the longest common subsequence (the score is ROUGE-L) and decides whether you remembered your own words or the road's version, and the problems that showed up after running over a thousand seeds.
Reading time: 20 minThe Road We Came: at the summit, do you still remember why you set out?
The Road We Came is a browser game of about five minutes that asks whether, at the end of the road, you still remember why you began. This post is about its design: how the sentence you write at the start is handed over, how the people along the road retell it, the character the ferryman asks for, the blank scroll at the summit, and how the people on the road recognize you when you walk it again.
Reading time: 11 min