@civ-clone/core-treasury
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

core-treasury

Classes related to the concept of a Player having a treasury of a Yield.

This could probably benefit from a bit of a rewrite having multiple stores of Yields (Gold, Faith, etc) that can be spent.

It would also be nice to separate out the concepts of "buy" and "rush". This would also enable the (Civ 2?) concept of sacrificing population to build items quickly.

Would be nice to add some core unit tests here too.

Package Sidebar

Install

npm i @civ-clone/core-treasury

Weekly Downloads

0

Version

0.1.4

License

MIT

Unpacked Size

29.3 kB

Total Files

48

Last publish

Collaborators

  • dom111