jkomoros / boardgame

An in-progress framework in golang to easily build boardgame Progressive Web Apps
Apache License 2.0
31 stars 4 forks source link

Some way for bool props on playerStates to be used for GroupMembership #770

Open jkomoros opened 4 years ago

jkomoros commented 4 years ago

That is, automatically in base.GameDelegate.GroupMembership. Maybe have some struct tag configuration, or something that behaviors can do that says, "if this is true, in this group, if false, in this other group".

E.g. MayAdministerRoom bool.

Related to #491.