SimCity has just been released as free software under the GPL version 3 license (though the name has been changed to Micropolis for trademark reasons; it was the original working title). This was precipitated by the inclusion of SimCity on the One Laptop Per Child XO machines, but no reason the kids should have all the fun. Can't wait to see the SimCity hacks that emerge now:
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.
In any case, it's out there for you to grab and have fun with. It was originally written in C and of course is old (created before 1983 which is ancient in Internet time). Don spent a lot of time cleaning the code up (including ANSIfying it, reformatting it, optimizing, and bullet-proofing it) as best he could. Don ported the Mac version of SimCity to SunOS Unix running the NeWS window system about 15 years ago, writing the user interface in PostScript. A year or so later he ported it to various versions of Unix running X-Windows, using the TCL/Tk scripting language and gui toolkit. Several years later when Linux became viable, it was fairly straightforward to port that code to Linux, and then to port that to the OLPC.
Zombies, Run! co-creator Adrian Hon writes, “That’s right, we turned our running app and audio adventure into a board game! It’s a frantic, fun, real-time audio-driven sprint across a zombie-infested landscape for 2-4 players, who must rescue survivors, uncover secrets, and (hopefully!) find a cure.”
Lemmings is one of the best video games of all time, and seemed in the 90s to be on the verge of becoming an explosive media phenomenon. Its tiny animated characters are fab: adorable yet down-to-earth, capable yet doomed, a smorgasbord of sarcastic bite and hurt/comfort neediness. After publisher Psygnosis was bought by Sony, though, […]
Jess Morrissette writes, “I’m a professor of Political Science at Marshall University, and I recently launched a project aimed at cataloging screenshots of every soda machine to have ever appeared in a video game. We’ve reached over 400 entries in less than a month, featuring virtual soda machines ranging from the earliest days of video […]
Evan Kimbrell, founder of the digital agency Sprintkick, recently released a series of online courses that feature some of the best advice we’ve come across. These courses are well worth your time, and will save you from making many typical mistakes down the line if you ever want to start your own business.With this Business […]
Handy is the most convenient solution we’ve found for booking a house cleaning at the last minute, and they do a really great job. It’s as easy as heading to the site, selecting a date and time that works for you and the number of rooms in your home. We’ve even scheduled emergency cleanings as soon as the following day. […]
With all the new amazing games and consoles out there, we still can’t help but have a soft spot for old school staples. From Super Mario to Mortal Kombat, classic games just never get old. Which is why we’re so excited to relive the nostalgia with our newest deal in the Boing Boing Shop: The Complete SNES […]