Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions app/views/tournament/faq.scala
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,11 @@ object faq:
td(30)
),
tr(
td("Crazyhouse, King of the Hill"),
td(25)
),
tr(
td("Antichess, Racing Kings"),
td("Antichess, Crazyhouse, King of the Hill"),
td(20)
),
tr(
td("Three check, Atomic"),
td("Three check, Atomic, Racing Kings"),
td(10)
)
)
Expand Down
7 changes: 3 additions & 4 deletions modules/tournament/src/main/Pairing.scala
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ case class Pairing(
def quickDraw = draw && turns.exists(20 >)
def notSoQuickFinish = finished && turns.exists(14 <=)
def longGame(variant: Variant) = turns.exists(_ >= (variant match {
case Standard | Chess960 | Horde => 60
case Crazyhouse | KingOfTheHill => 50
case Antichess | RacingKings => 40
case ThreeCheck | Atomic => 20
case Standard | Chess960 | Horde => 60
case Antichess | Crazyhouse | KingOfTheHill => 40
case ThreeCheck | Atomic | RacingKings => 20
}))

def wonBy(user: UserId): Boolean = winner.has(user)
Expand Down