Skip to content

Commit

Permalink
Adjust zhInc to avoid resonance with time control
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacl committed Aug 30, 2024
1 parent de5ca88 commit c0464a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tournament/src/main/Schedule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ object Schedule:

private val standardIncHours = Set(1, 7, 13, 19)
private def standardInc(s: Schedule) = standardIncHours(s.at.getHour)
private def zhInc(s: Schedule) = s.at.getHour % 2 == 0
private def zhInc(s: Schedule) = s.at.getHour % 4 < 2

private given Conversion[Int, LimitSeconds] = LimitSeconds(_)
private given Conversion[Int, IncrementSeconds] = IncrementSeconds(_)
Expand Down

0 comments on commit c0464a2

Please sign in to comment.