The-great-game 0.1.2-SNAPSHOT

Released under the GNU General Public License,version 2.0 or (at your option) any later version

Prototype code towards the great game I've been writing about for ten years, and know I will never finish.

Installation

To install, add the following dependency to your project or build file:

[journeyman-cc/the-great-game "0.1.2-SNAPSHOT"]

Topics

Namespaces

cc.journeyman.the-great-game.agent.agent

Anything in the game world with agency; primarily but not exclusively characters.

Public variables and functions:

cc.journeyman.the-great-game.buildings.module

A module of a building; essentially something like a portacabin, which can be assembled together with other modules to make a complete building.

Public variables and functions:

    cc.journeyman.the-great-game.buildings.rectangular

    Build buildings with a generally rectangular floow plan.

    cc.journeyman.the-great-game.gossip.gossip

    Interchange of news events between gossip agents.

    Public variables and functions:

    cc.journeyman.the-great-game.gossip.news-items

    Categories of news events interesting to gossip agents.

    cc.journeyman.the-great-game.holdings.holding

    TODO: write docs

    Public variables and functions:

    cc.journeyman.the-great-game.location.location

    TODO: write docs

    Public variables and functions:

    cc.journeyman.the-great-game.merchants.markets

    Adjusting quantities and prices in markets.

    Public variables and functions:

    cc.journeyman.the-great-game.merchants.merchant-utils

    Useful functions for doing low-level things with merchants.

    cc.journeyman.the-great-game.merchants.merchants

    Trade planning for merchants, primarily.

    Public variables and functions:

    cc.journeyman.the-great-game.merchants.planning

    Trade planning for merchants, primarily. This follows a simple-minded generate-and-test strategy and currently generates plans for all possible routes from the current location. This may not scale. Also, routes do not currently have cost or risk associated with them.

    cc.journeyman.the-great-game.merchants.strategies.simple

    Default trading strategy for merchants.

    Public variables and functions:

    cc.journeyman.the-great-game.objects.container

    TODO: write docs

    Public variables and functions:

    cc.journeyman.the-great-game.objects.game-object

    Anything at all in the game world

    Public variables and functions:

    cc.journeyman.the-great-game.playroom

    TODO: write docs

    Public variables and functions:

    cc.journeyman.the-great-game.time

    TODO: write docs

    cc.journeyman.the-great-game.utils

    TODO: write docs

    Public variables and functions:

    cc.journeyman.the-great-game.world.heightmap

    Functions dealing with the tessellated multi-layer heightmap.

    cc.journeyman.the-great-game.world.location

    Functions dealing with location in the world.

    Public variables and functions:

    cc.journeyman.the-great-game.world.mw

    Functions dealing with building a great game world from a MicroWorld world.

    Public variables and functions:

      cc.journeyman.the-great-game.world.routes

      Conceptual (plan level) routes, represented as tuples of location ids.

      Public variables and functions:

      cc.journeyman.the-great-game.world.run

      Run the whole simulation

      Public variables and functions:

      cc.journeyman.the-great-game.world.world

      Access to data about the world

      Public variables and functions: