Micropolis: Sim City open sourced

simcity_20080112.jpg
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:

  • SimCity Source Code Released to the Wild - [via] Link
  • Micropolis Downloads - Link

Posted by Phillip Torrone | Jan 15, 2008 12:00 AM
Computers | Permalink | Comments (3) | Email This | Bookmark and Share | Digg this!

Recent Entries

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.


Leave a comment


Subscribe to MAKE!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)

Subscribe now

How-to videos for Makers and Crafers!


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out... Welcome to the Make Blog!

Features and more @ MAKE!

Maker shed - cool stuff to 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.


Advertise here with FM.

Why advertise on MAKE?
Read what folks are saying about us!

Click here to advertise on MAKE!

Subscribe to MAKE Magazine!

Makezine authors!


Suggest a Site!

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)


Current Podcast

itunesdl.gif The Best of Maker Faire Austin 2008 Check out all the fun and excitement at this year's Maker Faire in Austin, Texas. People from all over the world came to experience this amazing event. Take a look at some of the highlights and make plans to... More...

Get the Make blog sent via email

Enter your email to receive the Make blog each day:



WOW! Thanks to everyone involved with Maker Faire Bay Area and Maker Faire Austin in 2008: attendees, makers, exhibitors, sponsors, volunteers, and crew...it was an AMAZING year! Over 1,000 Makers and 87,000+ attendees total! Be sure to check out the photos @ Flickr, and our Maker Faire posts for all the action! Check back for dates for 2009 soon!

Make Categories

www.flickr.com
photos in MAKE More photos in MAKE Flickr Pool
www.flickr.com
photos in Craft More photos in Craft Flickr Pool

Advertise here.
Why advertise on MAKE?
Read what folks are saying about us!

Click here to advertise on MAKE!
Subscribe to MAKE Magazine!

Recent Posts from the Craft: Blog

Recent Posts from the Hackszine Blog