Sides Policy is part of the sheet policy avaiable in the Settings dialog. It is held in a JSON text string..
The following are examples of valid sides policy:
{
"sidesOf":3,
"wldOn":"points",
"points":[10,7,1,6,0,3]
}
Here points specifies 7 points for a win by 10 shots or more, 6 for a win, and 3 for a draw.
{
"sidesOf":3,
"poolPlay":
{"wldOn":"points","points":[10,7,1,6,0,3]},
"livesPlay":
{"wldOn":"games"}
}
{
"sidesOf":3,
"poolPlay":
{"wldOn":"points","points":{"atGame":[1,2,0,1],"atMatch":[1,2,0,1]}},
"livesPlay":
{"wldOn":"games"}
}
Sides policy related to Pool play.
How many teams per side.
This is the field used to determine the result, i.e. win, loss, or draw. Allowable options are "points"
, "games"
, or "shots"
.
This is a list defining how points are accumulated from the shot differential in each of the games.
For example "points":{"atGame":[11,8,1,7,0,4,-2,1]}
means a win by 11 shots or more is worth 8 points, a win = 7, a draw = 4, and a loss by 1 or 2 shots is worth 1 point.
This a similar list defining how points are calculated from the aggregate score of all games. For example "points":{"atGame":[1,2,0,1],"atMatch":[1,2,0,1]}
means game wins are worth 2, game draws =1, with similar points for the aggregate score of all games in the match.
How many teams per side.
Can be either games
, shots
or points
as above.
If no sides policy is specified.
{
"sidesOf":3,
"poolPlay":{"wldOn":"games"},
"livesPlay":{"wldOn":"games"}
}
providing for sides of 3 teams and matches decided on games for.