+
handleKeyDown(e)}
+ >
+
+ {currWord.split("").map((char, idx) => (
+
+ {getCharDisplay(idx, char)}
+
+ ))}
+ {extra.map((char, idx) => (
+
+ {char}
+
+ ))}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ setDifficulty("easy")}>
+
+ Easy
+
+
+ setDifficulty("medium")}>
+
+ Medium
+
+
+ setDifficulty("hard")}>
+
+ Hard
+
+
+
+
+ You guessed {guessedWordsCount} words correctly!
+ High Score: {highScore}
+
+
+
+
+
+
+
+
+