ningalu / turn-based-combat

0 stars 0 forks source link

Model privileged data #14

Open ningalu opened 3 weeks ago

ningalu commented 3 weeks ago

Most turn-based games hide some information about a player's general data from other players. This data communication relationship is not yet implemented here. Consider the following model

Battles have "Participants" that are assigned certain "Roles" Roles would allow domain-specific logic to determine what information each Participant is privy to. Role granularity could be domain-specific, but it is probably sufficient to restrict it to a per-player basis

Behaviour like this would require changes to how a Battle communicates with its participating Players

ningalu commented 2 weeks ago

Pending simultaneous/asynchronous rather than sequential posting of logs