@civ-clone/core-data-object
A data exchange object for converting a subset of a class instances to plain JSON.
A data exchange object for converting a subset of a class instances to plain JSON.
Contains the core models relating to `Unit`s.
The basics of having the concept of research. Includes `Advance`s and associated `Registry`s and the `PlayerResearch` class to manage a `Player`s research projects and progress towards it.
This package provides the `Unit` (`...a friendly tribe of skilled mercenaries!`) `GoodyHut`.
This component is used to create other registries that contain object data. This is a stub that contains all the shared methods that other classes will extend replacing the constructor with a call to the parent passing in the supported types that can be s
A `Yield` is a key element in Civilization and can refer to anything from the `Attack` value of a `Unit` to, the `Food` returned for a `Tile` or the `Unhappiness` produced by a `City`.
This is a template repo.
The core building-blocks for the concepts of a `World` and `Tile` based environment, as well as a bucket for `Tile`s (`Tileset`) with some helper functions that are useful on such a collection.
This is a template repo.
This repo stores the core concept of a `Turn` and some basic `Rule`s and events around the `Start` and `End` of the turn. This is the basis for a turn-based game. Packages like `civ1-player` utilise these to allow a `Player` to perform their actions, bef
This component contains the framework for `Rule`s. These are comprised of `Criterion`s and `Effect`s with optional `Priority`s.
Contains base functionality for the concept of a `City`, including the associated `Rule`s, `CityRegistry` and `AdditionalData`.
This is how a `Tile`'s `Terrain` is defined. Utilising this, along with `TileImprovement`s and `Feature`s can bring parity to most of the Civ games.
The core elements of what a `Player` is, including the `CurrentPlayerRegistry` and `PlayerAction`s.
This is a template repo.
This is a template repo.
This is a template repo.
This is a template repo.
This is a template repo.
This is a template repo.