farin/JCloisterZone

Adjacent features Scoring Formula

Opened this issue · 0 comments

It will be great to rewrite vineyards to use scoring formula which will be possible to use in other fan expansions.
A lot of fan expansions used logic:
If there is object in vinicity (usually 8 adjacent tiles + tile itself, or 4 adjacent tiles + tile itself sometimes in NEWS directions, sometimes in NW NE SW SE direction), give extra points to feature.
Those vinicity can be defined like:

  1. Including feature tiles - it can be also city (similar like Besieger escape to Monastery if in vinicity of city)
  2. Length of tiles from original tile - 0 (only tiles of feature, 1 tile arround feature - can be up to 9 tiles, 2 tiles arround featurs - can be up to 26 tiles for monasteries)
  3. Directions of vinicity - all (max 1,9,26 for monasteries), vertical/horizontal (max 1,5,9 for monasteries), vertical+horizontal (max 1,9,17 for monasteries)
  • count of affected tiles depend of "1." is true/false