Skip to content

Commit

Permalink
normalize LCC outcomes
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Dec 28, 2023
1 parent 7930d72 commit 5a39238
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/scala/Outcome.scala
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,10 @@ object Outcome:
allWins.map(_ -> Outcome(Some(White))) :::
allLosses.map(_ -> Outcome(Some(Black)))

pairs.toMap
val lccResults = Map(
"WHITEWIN" -> Outcome(Some(White)),
"BLACKWIN" -> Outcome(Some(Black)),
"DRAW" -> Outcome(None) // ? not sure
)

pairs.toMap ++ lccResults

0 comments on commit 5a39238

Please sign in to comment.