Screeps

Architecture

  • launcher launches the rest of the processes, and it includes the server control GUI.
  • storage contains a LokiJS-based database, a key-value storage, and a Pub/Sub mechanism. The rest of the processes connect to storage to exchange data.
  • backend contains an HTTP server accessed by clients and a CLI server for administration.
  • engine is the game core. It executes game scripts and interacts with game world objects.
  • driver is a link between the environment-independent engine (that is shared for the official server, standalone server, and in-browser simulation) and the immediate environment that hosts the game engine. You can replace this module with your own one, if you wish to use another method of storing and handling data.
  • common is a shared code base with useful utilities.

Backlinks