Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@civ-clone/core-player

civ-clone19MIT0.1.7TypeScript support: included

The core elements of what a Player is, including the CurrentPlayerRegistry and PlayerActions.

typescript, civilization

readme

core-player

The core elements of what a Player is, including the CurrentPlayerRegistry and PlayerActions.

Includes the Rules:

  • Action to define which PlayerActions are returned from Player.actions.
  • Added triggered when a Player is added.
  • Defeated " " defeated.
  • TurnEnd triggered when a Player's turn ends.
  • TurnStart " " starts.