Skip to content

Small tweaks for reinforcement learning, or other city-building bots.

Notifications You must be signed in to change notification settings

smearle/micropolis-4bots

 
 

Repository files navigation

micropolis-4bots

This fork makes a few small modifications to MicropolisCore, making the engine available to python for stepping through the simulation with or without drawing the gtk window, and removing the handleDidTool() printout which would otherwise clutter the terminal during training. It is intended for use with the micropolis gym environment. Note that only the MicropolisCore module needs to be installed to these ends, the rest of the repo, including old micropolis-activity, is included only for posterity, entirely unchanged.

TODO:

  • Might it be faster to access the simulation's map/tile-array directly for agent observation, rather than leaving agents to maintain an internal representation given the success/fail of their own actions? If not, then we should:
    • have toolDown() method cause bot to update its internal representations, when toolDown() has been caused by something other than the bot itself
  • Make available any other potentially interesting simulation variables for bots
  • Make pre-trained city-building bots available in-game, as player assistants/advisors

Huge thank you to Don Hopkins, and to all the ardent souls who made this brilliant code available for the manglin'. Find the original repo's readthrough below.

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.

A description of the Micropolis project source code release.

The latest news about recent development.

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

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

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.

The Micropolis GPL license.

Tools

About

Small tweaks for reinforcement learning, or other city-building bots.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 46.0%
  • C 22.4%
  • C++ 15.8%
  • Python 5.9%
  • Tcl 5.2%
  • Java 2.0%
  • Other 2.7%