The original SimCity Classic source code is open source, and instructors like Chaim Gingold and Mark Sample are actually having their students study (and deconstruct) the source code:
Chaim Gingold, Simulation for Games: http://classes.soe.ucsc.edu/cmps179/Spring13/
Mark Sample, Criminal Code: The Procedural Logic of Crime in Videogames: http://www.samplereality.com/2011/01/14/criminal-code-the-pr...