## Generated by Codox

# 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

- Baking the world
- A Canonical dictionary for this documentation
- On the consequences of a dynamic game environment for storytelling
- Game Play
- Gossip, scripted plot, and Johnny Silverhand
- Organic Quests
- Pathmaking
- Populating a game world
- Roadmap
- Settling a game world
- Simulation layers
- The spread of knowledge in a large game world
- The Uncanny Valley, and dynamically generated dialogue
- Voice acting considered harmful
- Building on Microworld
- Game world economy
- Introduction to the-great-game
- Modelling trading cost and risk
- Naming of Characters
- On Dying
- Sandbox
- Sexual dimorphism

## Namespaces

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

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

Public variables and functions:

- ProtoAgent

### 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.

Public variables and functions:

- *building-families*
- *crafts*
- *cultures*
- *terrain-types*
- build!
- building-family

### cc.journeyman.the-great-game.cloverage

TODO: write docs

Public variables and functions:

- documented-project-dir
- opts

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

Interchange of news events between gossip agents.

Public variables and functions:

- dialogue
- gather-news
- move-gossip
- run

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

Using news items (propositions) to transfer knowledge between gossip agents.

Public variables and functions:

- all-known-verbs
- compatible-item?
- compatible-value?
- degrade-character
- degrade-location
- degrade-news-item
- infer
- interest-in-character
- interest-in-location
- interesting-character?
- interesting-item?
- interesting-location?
- interesting-object?
- interesting-topic?
- interesting-verb?
- known-item?
- learn-news-item
- make-all-inferences
- news-topics

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

TODO: write docs

Public variables and functions:

- ProtoHolding

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

TODO: write docs

Public variables and functions:

- ProtoLocation

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

Adjusting quantities and prices in markets.

Public variables and functions:

- adjust-quantity-and-price
- new-price
- run
- update-markets

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

Useful functions for doing low-level things with merchants.

Public variables and functions:

- add-known-prices
- add-stock
- burden
- can-afford
- can-carry
- expected-price

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

Trade planning for merchants, primarily.

Public variables and functions:

- run

### 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.

Public variables and functions:

- augment-plan
- generate-trade-plans
- nearest-with-targets
- plan-trade
- select-cargo

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

Default trading strategy for merchants.

Public variables and functions:

- move-merchant
- plan-and-buy
- re-plan
- sell-and-buy

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

TODO: write docs

Public variables and functions:

- ProtoContainer

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

Anything at all in the game world

Public variables and functions:

- ProtoObject

### cc.journeyman.the-great-game.playroom

TODO: write docs

Public variables and functions:

- app
- init
- simple-update

### cc.journeyman.the-great-game.time

TODO: write docs

Public variables and functions:

- canonical-ordering-of-houses
- date-string
- day
- day-of-year
- days-in-season
- days-in-week
- days-of-week
- game-day-length
- game-start-time
- game-time
- now
- season
- seasons-in-year
- seasons-of-year
- waiting-day?
- week
- weeks-in-season
- weeks-of-season

### cc.journeyman.the-great-game.utils

TODO: write docs

Public variables and functions:

- cyclic?
- deep-merge
- inc-or-one
- make-target-filter
- truthy?
- value-or-default

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

Functions dealing with the tessellated multi-layer heightmap.

Public variables and functions:

- *base-map*
- *noise-map*
- excerpt-grid
- get-surface
- interpolate-altitude
- interpolate-cell
- interpolate-grid
- scale-grid

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

Functions dealing with location in the world.

Public variables and functions:

- distance-between
- get-coords

### 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:

- find-route
- find-routes

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

Run the whole simulation

Public variables and functions:

- init
- run

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

Access to data about the world

Public variables and functions:

- actual-price
- default-world
- run