farin / JCloisterZone

Java implementation of Carcassonne board game
https://jcloisterzone.com
MIT License
307 stars 100 forks source link

Multiple Shepherds in game #403

Closed stanolacko closed 3 years ago

stanolacko commented 3 years ago

Multiple Shepherds in game brings some issues in DEV version

  1. When added second shepherd on new field, second shephers will not received automatic token
  2. When enlarged field with second (third,..) shephers, action to grow the flock or score the sheeps are not fired

Question:

  1. Imagine situation: Blue player have two shepherds each on different field. He placed tile and join this field. Which Shephers will get opportunity to grow the flock or score the sheeps? How many times will be this action fired? Once (due to player) or multiple tiles (due to count of shepherds on one field)?
stanolacko commented 3 years ago

By folowing basic rules: When placed tile enlarged field with shepherd his color, player can take next token or score tokens on field. So it can be two situations with multiple shephers of same color

  1. Field with two or more shephers - enlarging this field will allows only to one action by shepherd
  2. Placed tile enlarge two (or more) fields where player has on each field shepherd his color - then player enlarge will need to give multiple times action fired by shepherd for each field with shepherd separately. It will be good to show which shephers is affected. Maybe highlight whole field to show also oppocite players flocks?