MCPcopy Index your code
hub / github.com/SimHacker/micropolis

github.com/SimHacker/micropolis @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
4,277 symbols 11,217 edges 421 files 921 documented · 22%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Open Source Micropolis, based on the original SimCity Classic from Maxis, by Will Wright.

This is the source code for Micropolis (based on SimCity), released under the GPL. Micropolis is based on the original SimCity from Electronic Arts / Maxis, and designed and written by Will Wright.

Description

A description of the Micropolis project source code release.

News

The latest news about recent development.

DevelopmentPlan

The development plan, and a high level description of tasks that need to be done.

ThePlan

Older development plan for the TCL/Tk version of Micropolis and the C++/Python version too.

Assets

List of art and text assets, and work that needs to be done for Micropolis.

Documentation

This is the old documentation of the HyperLook version of SimCity, converted to wiki text. It needs to be brought up to date and illustrated.

License

The Micropolis GPL license.

Tools

Extension points exported contracts — how you extend this code

Listener (Interface)
The listener interface for receiving miscellaneous events that occur in the Micropolis city. Use the Micropolis class's [4 …
micropolis-java/src/micropolisj/engine/Micropolis.java
MapListener (Interface)
The listener interface for receiving notifications whenever a tile on the city map changes, or when a sprite moves or ch [4 …
micropolis-java/src/micropolisj/engine/MapListener.java
ToolEffectIfc (Interface)
(no doc) [6 implementers]
micropolis-java/src/micropolisj/engine/ToolEffectIfc.java
EarthquakeListener (Interface)
The listener interface for receiving earthquake notifications. [2 implementers]
micropolis-java/src/micropolisj/engine/EarthquakeListener.java

Core symbols most depended-on inside this repo

Tcl_AppendResult
called by 926
micropolis-activity/src/tcl/tclutil.c
Tcl_GetInt
called by 233
micropolis-activity/src/tcl/tclget.c
getAttribute
called by 186
micropolis-java/src/micropolisj/engine/TileSpec.java
get
called by 151
MicropolisCore/src/MicropolisEngine/src/map_type.h
max
called by 104
MicropolisCore/src/MicropolisEngine/src/micropolis.h
Rand
called by 98
micropolis-activity/src/sim/s_sim.c
Tcl_SetResult
called by 93
micropolis-activity/src/tcl/tclutil.c
panic
called by 92
micropolis-activity/src/tcl/panic.c

Shape

Method 2,137
Function 1,611
Class 489
Enum 36
Interface 4

Languages

C37%
Python24%
Java19%
C++19%
TypeScript1%
C#1%

Modules by API surface

micropolis-java/src/micropolisj/engine/Micropolis.java130 symbols
MicropolisCore/src/pyMicropolis/micropolisEngine/micropolisturbogearsengine.py114 symbols
MicropolisCore/src/CellEngine/src/cellengine.cpp109 symbols
MicropolisCore/src/pyMicropolis/cellEngine/cellengine.py97 symbols
MicropolisCore/src/pyMicropolis/micropolisEngine/micropolisgenericengine.py82 symbols
MicropolisCore/src/pyMicropolis/piemenu/piemenu.py81 symbols
micropolis-java/src/micropolisj/gui/MainWindow.java78 symbols
micropolis-activity/src/sim/w_sim.c74 symbols
micropolis-activity/src/tclx/src/tclplus.h69 symbols
MicropolisCore/src/pyMicropolis/piemenu/pie.py63 symbols
micropolis-activity/src/tk/tktcp.c58 symbols
turbogears/micropolis/controllers.py55 symbols

Datastores touched

(mysql)Database · 1 repos
micropolisDatabase · 1 repos
databasenameDatabase · 1 repos
databasenameDatabase · 1 repos

For agents

$ claude mcp add micropolis \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact