News for hackers. Stuff that matters.
Re:Show HN: AI agents play SimCity through a REST API by DonHopkins on Wednesday February 11, 2026 @04:13PM (#46981059)
Sam Earle did exactly this with RL agents trained via quality-diversity methods on Micropolis: https://github.com/smearle/gym-city

For running locally, I'd recommend the MicropolisCore repo over the one linked in the original post. MicropolisCore is a clean C++ rewrite that compiles to WASM -- runs headless in Node or in any browser:

https://github.com/SimHacker/MicropolisCore

Live demo: https://micropolisweb.com

The Raspberry Pi wall display idea is great. The simulation is lightweight enough for that.

I added all the classic tile sets, and it can run a couple of cellular automate rules as well as the game simulator. Here's a demo to some original music by Jerry Martin, who composed the music in The Sims and SimCity:

SimCity Micropolis Tile Sets Space Inventory Cellular Automata To Jerry Martin's Chill Resolve:

https://www.youtube.com/watch?v=319i7slXcbI

There are no comments on this comment yet.