1 // Default score message if none provided
2 export function getScoreMessage(score
, reverseColors
) {
3 let eogMessage
= "Undefined"; //not translated: unused
6 eogMessage
= (!reverseColors
? "White win" : "Black win");
9 eogMessage
= (!reverseColors
? "Black win" : "White win");
15 eogMessage
= "Undetermined result";