gottebp
Joined 12 years ago
Joined 12 years ago
The first attempt was a full on x86asm->webasm transpiler which ran into some difficult stack issues.
The second attempt was successful via conversion from x86asm->c->emscripten->wasm [0]. It plays pretty well on mobile and just about any browser now.
Fair warning it is pretty difficult to win, unless you can figure out where the enemy weaknesses are [1].
[0] [code] https://github.com/gottebp/alan_parsons_project
[1] [play] https://particlefield.com/projects/alan-parsons/game.html
The code sat on a CD-ROM for 24 years. I had Claude Code burn a bunch of tokens to port it from x86 asm to C to WebAssembly (via Emscripten), wrapped it in tests, and got it running cross-platform in the browser/mobile/desktop/everywhere. It's 98% faithful to the original, however I did tune the difficulty a bit; and by that I mean best of luck!
Playable Link: https://particlefield.com/projects/alan-parsons/game.html
Twenty-three years later I burned a pile of Opus 4.6 tokens to port the assembly to C, then compiled to WebAssembly via Emscripten. The first attempt was a direct x86 to WASM transpiler; it passed hundreds of unit tests but kept crashing. The second approach through C worked well.
github: https://github.com/gottebp/alan_parsons_project
story: https://www.linkedin.com/pulse/some-projects-stick-you-longe...
It was not a large amount after dividing it up, but it was so rare in the college days to have any spare change for anything, and it sure meant a lot at the time. https://ece.illinois.edu/academics/ugrad/scholarships-and-aw...
Back in 2016 I made an impossible to get replacement part [0] for the Breville BCG800XL SmartGrinder and sold it through ShapeWays. It paid for all my coffee up until ~2022 when another company popped up and began selling an injection molded copy of my part on Amazon, Walmart, etc. ShapeWays' marketplace always let you easily see the top sellers in each category. I somewhat wonder if outside firms simply caught on, bought one of each, copied it, and made an injection mold to mass produce everything cheaply. This is great for the consumer but I have no idea how ShapeWays could have defended against it. I am thankful it lasted the few years it did. 3D printing was a fun way to make a little while helping folks keep their stuff out of the landfill.
[0] https://www.ifixit.com/Guide/BCG800XL+Grinder+Jamming+due+to...
Copyright and patent law were intended to prevent this, but software has no real moat from this. The little plants in the garden get to prove the concept just before the giant redwoods draw all the water from the soil and block the light -- and the legal system is setup to favor this.
"Subsidiarity is an organizing principle that matters ought to be handled by the smallest, lowest or least centralized competent authority. Political decisions should be taken at a local level if possible, rather than by a central authority".[1]
[1] https://en.wikipedia.org/wiki/Subsidiarity_(Catholicism)
[0] https://www.ifixit.com/Guide/BCG800XL+Grinder+Jamming+due+to...
Professional background: https://www.linkedin.com/in/bengottemoller
[ my public key: https://keybase.io/steadymouse; my proof: https://keybase.io/steadymouse/sigs/uTc4yYNXyxIk-vdShbhduKU2RhGDJsZ5g7VEmLTWRUE ]