Micropolis: Sim City open sourced

Jason @ Hackszine writes -
Don Hopkins has released a GPLed version of the original Sim City, cleaned up and renamed to the original title, Micropolis:
The "MicropolisCore" project includes the latest Micropolis (SimCity) source code, cleaned up and recast into C++ classes, integrated into Python, using the wonderful SWIG interface generator tool. It also includes a Cairo based TileEngine, and a cellular automata machine CellEngine, which are independent but can be plugged together, so the tile engine can display cellular automata cells as well as SimCity tiles, or any other application's tiles.The key thing here is to peek inside the mind of the original Maxis programmers when they built it. Remember, this was back in the day when games had to fit inside of 640k so some "creative" programming techniques were employed. SimCity has been long a model used for urban planning and while it's just a game, there are a lot of business rules, ecosystem modeling, social dependencies, and other cool stuff going on in this codebase. It may not be pretty code but it's content sure is interesting to see.
The source will compile for X86/Linux systems, and we;re betting we'll see ports to other platforms at some point. If you're on a Mac and just want to play the game, just run a copy of Ubuntu in an emulator like QEMU and install the binary there.
More:
Posted by Phillip Torrone |
Jan 15, 2008 12:00 AM
Computers |
Permalink
| Comments (3)
| Email This |
| Digg this!
Recent Entries
- Best of CRAFT
- 10 Things 3D printers can do now
- How to nap
- GeekDad at Maker Faire
- Sugarcube sculptures
- Set your clocks back it's Standard time again...
- Pedal to a cold drink...
- Austin Event: DJ/Laptop Battle
- Single-Wheeled Bike Trailer
- Gear heart
Comments
Oldest comments listed first.
| Posted by: Tom on January 15, 2008 at 5:21 AM |
Pretty code is in the eye of the beholder!
Today's young 'uns never had to learn by necessity the skill required to write efficient code.
In all honesty, we may seldom be constrained by such memory limitation today, but I still find efficient programming "beautiful".
| Posted by: desiredusername on January 15, 2008 at 5:41 AM |
Ports to other platforms "at some point"? My kids just spent all weekend playing SimCity on their XO laptops.
| Posted by: isforinsects on January 15, 2008 at 8:25 AM |
Not only did Don update the code, he added a function set for cellular automata. Expect to see some interesting hacks to come out of Micropolis.
Subscribe to MAKE Magazine!
Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.
$34.95 / 1 year
(4 Quarterly Issues)
Features and more @ MAKE!

Stop by the Maker Shed store and check out THE place for open source hardware, Arduino & Arduino accessories, electronic kits, science kits, smart stuff for kids, back issues of MAKE & CRAFT, box sets, books, robots, kits from Japan and more.
Add MAKE to iGoogle - GoogleGoogle.
Add MAKE to your RSS reader - Real simple.
Add MAKE on Twitter.
Add MAKE on FriendFeed & the MAKE room.

Why advertise on MAKE?
Read what folks are saying about us!
Click here to advertise on MAKE!
Makezine authors!
Phillip Torrone
Senior Editor
Tel: 707-827-7311
Twitter / AIM
Gareth Branwyn
Jonah Brucker-Cohen
Collin Cunningham
Marc de Vinck
Kip Kay
Luke Iseman
Patti Schiendelman
Becky Stern
Mike Dixon
Peter Horvath(intern)



Leave a comment