From 5a39238674f268bf881f7a5bf096ff10d254b9df Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Thu, 28 Dec 2023 11:30:10 +0100 Subject: [PATCH] normalize LCC outcomes --- src/main/scala/Outcome.scala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/scala/Outcome.scala b/src/main/scala/Outcome.scala index 84d267f72..8dc59e241 100644 --- a/src/main/scala/Outcome.scala +++ b/src/main/scala/Outcome.scala @@ -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