Andreas Gohr: Weblog [splitbrain.org]

Weblog on technology, programming and personal stuff by Andreas Gohr.

Old Game, New Clothes

Old Game, New Clothes

ZigNum

Back in university in 2003 we had to do a group project. I don't remember which course it was, but the assignment was pretty open. Basically as long as you coded something, you passed.

I had just switched from my trusty Palm Tungsten E2 PDA to a Linux based Sharp Zaurus and I was missing a little puzzle game I enjoyed playing on the Palm. So my friend Frank and I decided to implement our own version.

The Zaurus used QT as the graphics framework so we made it in C++ and QT. It was a fun project and it not only worked on the Zaurus but also on desktop. Frank even managed to compile it for Windows.

The time of PDAs was soon over and the age of the smartphone had begun. From time to time I thought about creating an Android app of that game. Unfortunately I had lost the original source code, so I asked Frank if he still had it and luckily he found it on an old disk.

Good thing he sent the code to my gmail account where it got archived forever. Because that was back in 2011 and I never came around to actually make that app.

But recently I remembered. And since we're living in the future (a much shittier version of the future than I had hoped, but the future nonetheless) porting code is relatively simple now.

So I spent an afternoon with Claude Code, having it analyze the original code, come up with some initial requirements and a final implementation plan. Then I let it run and it basically one-shot a working implementation :-O.

There are many valid criticisms on LLMs and their billionaire owners. But that LLMs don't work isn't one of them…

I iterated a bit on the implementation and now have a modern version of the old game and it even includes a network mode.

The game uses modern ES6 JavaScript modules and web components, the networking is based on WebRTC (using PeerJS), it has an automatic dark mode, you can install it as an offline app thanks to PWA technology and does not even need a build system. Another tiny part of the future that doesn't suck.

If you want to give it a try, here you go: ZigNum. I find the computer quite difficult to beat – despite the rather naive “AI” approach we picked back in 2003. But maybe I'm just rusty.

Tags:
game, llm, ai, zignum, js, pwa
Similar posts:

Add or read comments to this article »»

Copyright © 2026 Andreas Gohr
This feed is for personal, non commercial use in the subscriber's feedreader only.
All contents (especially texts and images) are protected by copyright law and may not be republished outside of splitbrain.org without prior consent. Texts may be quoted in extracts under fair use policy. [digital fingerprint: sb97741286f601b4a0d496dc8bae242e6d]

Repose in a Park

Thomas Hawk posted a photo:

Repose in a Park

Found Slide

Thomas Hawk posted a photo:

Found Slide

MetaFilter

The past 24 hours of MetaFilter

Microsoft's brand image might already be at an all-time low...

Microsoft gets tired of "Microslop," bans the word on its Discord, then locks the server after backlash.

Double Dose from Harper's on Our Clown Overlords

Two real bangers in this month's issue taking us from the wave of barely-parseable Zoomers hitting Silicon Valley to the movement to reindustrialize the United States (with tech).

The first of these at least has been doing the rounds on the various short-form sites. We start with Sam Kriss (I think the most recent previously) on the newest kind of person pursued by the app sector (ungated): The future will belong to people with a very specific combination of personality traits and psychosexual neuroses. An AI might be able to code faster than you, but there is one advantage that humans still have. It's called agency, or being highly agentic. The highly agentic are people who just do things. They don't timidly wait for permission or consensus; they drive like bulldozers through whatever's in their way. When they see something that could be changed in the world, they don't write a lengthy critique—they change it. AIs are not capable of accessing whatever unpleasant childhood experience it is that gives you this hunger. Agency is now the most valuable commodity in Silicon Valley. In tech interviews, it's common for candidates to be asked whether they're "mimetic" or "agentic." You do not want to say mimetic. Once, San Francisco drew in runaway children, artists, and freaks; today it's an enormous magnet for highly agentic young men. I set out to meet them. The piece deals in good part (though not exclusively) with Roy Lee, the kid who told New York Mag (previously) he was proud to have cheated his way into, and out of, Columbia, where his only goal was to find a startup partner (he did). And then we have Maddy Crowell on the folks who are going to reindustrialize America with high-tech AI-powered factories (ungated) (the joke being that they won't and they'll be making drones): The techno-industrialists have a different plan to save America. As they see it, what we need is advanced manufacturing. For too long, they say, tech engineers have been fooling around with intangible things: software, blockchain, crypto, AI. Meanwhile, China, the world's manufacturing powerhouse, is churning out roughly eighty-five thousand cars a day; the United States can scarcely produce a third of that number. Silicon Valley is bloated with startups, but too few of their products are concrete. The techno-industrialists believe that America needs to apply modern computing capabilities to industrial production. They believe that technology has drifted too far into the invisible realm of bits or into the digital cloud. They are tired of the coastal ethos of "tech for tech's sake." And they've attracted some very powerful backers in the newly allied worlds of tech and American politics, among them the vice president and the secretary of defense. "The West once held its own destiny in a firm grip," reads the New Industrial Corporation's mission statement. "We can all feel it. A supercycle is groaning to a halt. . . . The known world order is becoming disordered. The 'end of history' is ending."

thexiffy

Last.fm last recent tracks from thexiffy.

Project Pitchfork - Steelrose (Talla 2XLC Remix)

Project Pitchfork

Munly & the Lee Lewis Harlots - Of Silas Fauntleroys Willingne

Munly & the Lee Lewis Harlots

Moby - Fireworks

Moby

Omstreden pro-Palestijnse ex-Radbouddocent toch niet welkom op VU Brussel

De voorgenomen aanstelling van de Britse docent Harry Pettit aan de Vrije Universiteit Brussel gaat niet door. Volgens het universiteitsbestuur heeft hij in strijd met de gedragsregels gehandeld door uitlatingen op X. Eerder brak de Radboud Universiteit al met hem.

Rijnmond - Nieuws

Het laatste nieuws van vandaag over Rotterdam, Feyenoord, het verkeer en het weer in de regio Rijnmond

Brand bij supermarkt, magazijn vol rook

Bij de Dirk aan de Damstraat in Spijkenisse heeft maandagmiddag brand gewoed. Er zouden flinke vlammen zijn geslagen uit enkele afvalkarren. De brandweer had het vuur snel onder controle. Het magazijn van de supermarkt kwam wel vol met rook te staan.