0.1.5 • Published 2 years ago

@civ-clone/core-goody-hut v0.1.5

Weekly downloads
15
License
MIT
Repository
github
Last release
2 years ago

core-goody-hut

This package provides the core GoodyHut class and associated Rules.

GoodyHuts traditionally in the Civ games provide a bonus (or penalty) when discovered. The GoodyHut class is associated to a Tile where it will be Discovered, revealing its reward via an Action.

Associated Rules:

  • Action - available Actions for the current GoodyHut (e.g. Unit, Advance, Gold...)
  • ActionPerformed - once an action is performed (Unit provided, etc)
  • Discovered - when the GoodyHut is interacted with
  • Distribution - on which Tiles the GoodyHuts will appear