Match the symbols!
Targets:{" "}
{answers.map((a, i) => {
if (i == currentAnswerIndex)
return (
-
+
{a}
);
@@ -98,31 +119,27 @@ export function Cyberpunk2077Game(props: IMinigameProps): React.ReactElement {
})}
- {grid.map((line, y) => (
-
-
- {line.map((cell, x) => {
- const isCorrectAnswer = cell === answers[currentAnswerIndex];
-
- if (x == pos[0] && y == pos[1]) {
- return (
-
- {cell}
-
- );
- }
-
- const optionColor = hasAugment && !isCorrectAnswer ? Settings.theme.disabled : Settings.theme.primary;
- return (
-
- {cell}
-
- );
- })}
+
+ {flatGrid.map((item) => (
+
+ {item.content}
-
-
- ))}
+ ))}
+
>