+ {games.map((chapter) => (
+ <>
+
{chapter.chapter}
+ {chapter.items.map((record) => {
+ const done = user && user.tests.some(t => t.id === record.id);
+ const open = opened === record.id;
+ return
+
+
+
handleTitleClick(record.id)}>
+ {open ? "🞃" : "🞂"} {record.title}
+
+
+
+
{done ? "✅" : ""}
+
+
+ {open &&
}
+
+ })}
+ >
+ ))}
+
+}
+
+export default GamesBrowser;
\ No newline at end of file
diff --git a/src/games/games.tsx b/src/games/games.tsx
index 6c094c0..8e6aeaa 100644
--- a/src/games/games.tsx
+++ b/src/games/games.tsx
@@ -26,10 +26,15 @@ export const unisexNounGame = makeGameRecord(
(id) => () =>