News for hackers. Stuff that matters.
Re:Development content accidentally shipped on a DOS CD-ROM ... by lmitchell on Tuesday February 21, 2017 @01:28AM (#13693735)
Really cool, thanks! I played SimCity a fair bit as a kid, it's really fun to look through s_disast.c in that repo... brings back some memories :P
Re:Development content accidentally shipped on a DOS CD-ROM ... by DonHopkins on Tuesday February 21, 2017 @02:47AM (#13694030)
You're welcome, and thanks for checking out the code!

Since releasing the X11/TCL/Tk version for OLPC, we've stripped out the user interface, cleaned up and refactored and doxygenated the city simulator engine code into C++, and wrapped it with SWIG so it plugs into Python and other scripting languages. It's not as "authentic", but it has more comments and is easier to read than the old C code:

https://github.com/SimHacker/micropolis/tree/master/Micropol...

Here's a talk about it:

HAR 2009 Lightning Talk Transcript: Constructionist Educational Open Source SimCity, by Don Hopkins

http://micropolisonline.com/static/documentation/HAR2009Tran...

I got hooked on computer games by playing Zork at MIT-DM, and it really blew my mind to finally be able to read the original Zork source code in MDL. Reading the source code takes you backstage behind the scenes of a world you visited years ago, like the Disney's Keys to the Kingdom Tour!

https://github.com/itafroma/zork-mdl