Color blind mode (#66)

This commit is contained in:
Daniel Kunkler
2022-01-27 14:57:59 -06:00
committed by GitHub
parent 0624a0704e
commit 51453990bf
5 changed files with 71 additions and 9 deletions

View File

@@ -25,6 +25,7 @@ interface GameProps {
maxGuesses: number;
hidden: boolean;
difficulty: Difficulty;
color: boolean;
}
const targets = targetList.slice(0, targetList.indexOf("murky") + 1); // Words no rarer than this one
@@ -219,6 +220,7 @@ function Game(props: GameProps) {
: RowState.Pending
}
cluedLetters={cluedLetters}
color={props.color}
/>
);
});