Tie Breaking Circumstances

Forum rules
Please DO NOT POST BUGS on this forum. Please report (and vote) bugs on : https://boardgamearena.com/bugs
Post Reply
Goatlegged
Posts: 1
Joined: 18 October 2023, 03:20

Tie Breaking Circumstances

Post by Goatlegged »

In the rules does it not specify "If there is a tie, the player with the most lira wins. If there's still a tie, the highest total of wine value in the cellar wins and if there's still a tie, the highest value of grapes on the crush pad wins. If there's STILL a tie, spin a bottle or share the victory." So why does this site use the formula of "Most Lira, total value of wine in the cellar, total value of grapes on the crush pad (formula: 100000*lira + 100*total_wines + total_grapes))". Why are we not adhering according to the rules of the game?
User avatar
greenjacket124
Posts: 100
Joined: 24 December 2021, 00:07

Re: Tie Breaking Circumstances

Post by greenjacket124 »

Goatlegged wrote: 01 May 2024, 22:06 In the rules does it not specify "If there is a tie, the player with the most lira wins. If there's still a tie, the highest total of wine value in the cellar wins and if there's still a tie, the highest value of grapes on the crush pad wins. If there's STILL a tie, spin a bottle or share the victory." So why does this site use the formula of "Most Lira, total value of wine in the cellar, total value of grapes on the crush pad (formula: 100000*lira + 100*total_wines + total_grapes))". Why are we not adhering according to the rules of the game?
Not seeing your point. That formula does adhere to the rules.
User avatar
Meeplelowda
Posts: 1296
Joined: 14 March 2020, 10:31

Re: Tie Breaking Circumstances

Post by Meeplelowda »

Goatlegged wrote: 01 May 2024, 22:06 In the rules does it not specify "If there is a tie, the player with the most lira wins. If there's still a tie, the highest total of wine value in the cellar wins and if there's still a tie, the highest value of grapes on the crush pad wins. If there's STILL a tie, spin a bottle or share the victory." So why does this site use the formula of "Most Lira, total value of wine in the cellar, total value of grapes on the crush pad (formula: 100000*lira + 100*total_wines + total_grapes))". Why are we not adhering according to the rules of the game?
Like greenjacket wrote, that formula does adhere to the tie breaker rules. It's just a cleaner way to program it rather than having a bunch of nested conditional evaluations such as:

Code: Select all

if player_a_lira == player_b_lira:
     if player_a_total_wine == player_b_total_wine:
          if player_a_total_grapes == player_b_total_grapes:
               game_result = 0 (i.e., a tie)
[Note: this is not the actual syntax from the BGA Studios framework]
That's just for two players. For more it would be even messier.

The formula accomplishes both ranking players when there isn't a tie, and ranking them by tie breakers when there is. Do you see why? Total wine can only affect rank in the formula if lira is equal because the multiplier for lira is 3 orders of magnitude larger than the total wine multiplier. Similarly, total grapes can only affect the rank if the other two factors are tied.
Post Reply

Return to “Viticulture”