boardgamers / gaia-engine

Javascript engine for project gaia
MIT License
13 stars 6 forks source link

Faction code #42

Closed coyotte508 closed 6 years ago

coyotte508 commented 6 years ago

It may not be good to add all the tests in the current functions of player.ts. Maybe another mechanism, like inheritance or hooks/plugins can be used to implement specific behaviors of some of the more complicated factions.

It's something to ponder over before doing the complicated code.

coyotte508 commented 6 years ago

It's now possible to customize behavior in faction-boards with handlers. That's enough for now.