swiss bye gives a full point

This commit is contained in:
Thibault Duplessis 2020-05-09 14:18:19 -06:00
parent 8564cf5cf1
commit 1b9b71586e
3 changed files with 7 additions and 7 deletions

View file

@ -106,7 +106,7 @@ object home {
strong("How are points calculated?"),
"A win is worth one point, a draw is a half point, and a loss is zero points.",
br,
"When a player can't be paired during a round, they receive a bye worth a half point"
"When a player can't be paired during a round, they receive a bye worth one point."
)
),
div(cls := "faq")(
@ -157,9 +157,9 @@ object home {
i("?"),
p(
strong("How many byes can a player get?"),
"A player gets a bye every time the pairing system can't find a pairing for them.",
"A player gets a bye of one point every time the pairing system can't find a pairing for them.",
br,
"Additionally, a single bye is attributed when a player late-joins a tournament."
"Additionally, a single bye of half a point is attributed when a player late-joins a tournament."
)
),
div(cls := "faq")(

View file

@ -79,7 +79,7 @@ final private class PairingSystem(executable: String) {
outcome match {
case Absent => "-"
case Late => "H"
case Bye => "H"
case Bye => "F"
case Draw => "="
case Win => "1"
case Loss => "0"

View file

@ -21,9 +21,9 @@ private object SwissSheet {
def pointsFor(outcome: Outcome) =
outcome match {
case Win => 2
case Late | Bye | Draw => 1
case _ => 0
case Win | Bye => 2
case Late | Draw => 1
case _ => 0
}
def many(