EwenDC / root-automated-setup

Automated Advanced Setup for Leder Game's popular board game Root
https://ewendc.github.io/root-automated-setup/
10 stars 6 forks source link

Make corner clearing choice more intelligent in standard setup #29

Open steevefontaine opened 1 year ago

steevefontaine commented 1 year ago

In standard setup, the Marquise de Cat, the Eyrie Dynasties, the Lizard Cult, the Underground Duchy, the Lord of the Hundreds, and the Keepers in Iron must choose a corner clearing during their setup. The corner clearing must be different from a corner clearing already chosen by a faction already set up, and must be diagonally opposite from another starting corner clearing, if possible.

The application (as the rules do) always says to place pieces "in a corner clearing that is not the starting corner clearing of another player and, if possible, is diagonally opposite from a starting corner clearing". As the application can know which faction already chose a starting corner clearing, the step can describe the corner clearing more dynamically. This matches how the rules were previously written for chosing corner clearings for the Underworld expansion (but with removing the absent factions), before the Marauder expansion reworded these steps.

The first corner faction can be set up in any corner clearing. The second corner faction must be set up in the corner clearing that is diagonally opposite from the Marquise's keep, Eyrie's starting roost, Cult's starting garden, Duchy's starting tunnel, or Hundred's warlord. The third corner faction must be set up in a corner clearing that does not have the Marquise's keep, Eyrie's starting roost, Cult's starting garden, Duchy's starting tunnel, or Hundred's warlord. The fourth corner faction must be set up in the remaining corner clearing that does not have the Marquise's keep, Eyrie's starting roost, Cult's starting garden, Duchy's starting tunnel, or Hundred's warlord.

For example, if the factions played are the Eyrie Dynasties, the Lizard Cult, the Underground Duchy, and the Keepers in Iron, the steps for choosing the starting clearing could be written this way:

EwenDC commented 1 year ago

Considering the level of tracking that would have to occur to keep on top of this, I would do this as part of #9