Get the latest tech news

Development Notes from xkcd's "Machine"


How we designed xkcd's massive rube goldberg machine game in 3 weeks.

Kevin’s map generator transitions from simple single-input single-output puzzles to complex 4-in-4-out merges in the middle, back to 2 outputs per tile at the end. To pretend there’s more machine up above the view, balls are created and fed to the tiles at the top row of the simulation (based on the expected rate of their input constraints). Rapier was fantastic to work with: it has great docs, a clean API with lots of useful primitives, and has impressive performance thanks to its Rust implementation (running as WASM in the browser).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of machine

machine

Photo of Development Notes

Development Notes

Photo of xkcd

xkcd

Related news:

News photo

It’s you versus machine as Stern unveils the world’s first AI pinball machine

News photo

Zep AI (YC W24) Is Hiring a Dev Advocate / Engineer with LLM Experience

News photo

Pretty Eight Machine