-
-
Educational Games
-
- Learn through play with interactive games that reinforce computer science and mathematical concepts.
-
-
+
+
+
+
+
Educational Games
+
+ Learn through play with interactive games that reinforce computer science and mathematical concepts.
+
+
- {/* Search bar */}
-
-
- setSearchTerm(e.target.value)}
- className="pl-10"
- />
-
+ {/* Search bar */}
+
+
+ setSearchTerm(e.target.value)}
+ className="pl-10"
+ />
+
- {/* Games Gallery */}
-
- {filteredGames.map(game => (
-
setSelectedGame(game)}
- >
-
- {game.title}
-
- {game.description}
-
-
-
-
- {game.tags.map(tag => (
-
- {tag}
-
- ))}
-
-
-
- ))}
-
+ {/* Games Gallery */}
+
+ {filteredGames.map(game => (
+
setSelectedGame(game)}
+ >
+
+ {game.title}
+
+ {game.description}
+
+
+
+
+ {game.tags.map(tag => (
+
+ {tag}
+
+ ))}
+
+
+
+ ))}
+
- {filteredGames.length === 0 && (
-
-
No games found matching your search.
+ {filteredGames.length === 0 && (
+
+
No games found matching your search.
+
+ )}
- )}
-
+
+
);
};
diff --git a/src/pages/GameOfSimGreenScreen.tsx b/src/pages/GameOfSimGreenScreen.tsx
new file mode 100644
index 0000000..591ac7f
--- /dev/null
+++ b/src/pages/GameOfSimGreenScreen.tsx
@@ -0,0 +1,18 @@
+import { useParams } from 'react-router-dom';
+import GameOfSim from '@/components/GameOfSim';
+import GreenScreenWrapper from '@/components/GreenScreenWrapper';
+
+const GameOfSimGreenScreen = () => {
+ const { mode } = useParams<{ mode: 'gs-lite' | 'gs-dark' }>();
+ const greenScreenMode = mode === 'gs-dark' ? 'dark' : 'lite';
+
+ return (
+
+
+
+
+
+ );
+};
+
+export default GameOfSimGreenScreen;
\ No newline at end of file
diff --git a/src/pages/GameOfSimPage.tsx b/src/pages/GameOfSimPage.tsx
new file mode 100644
index 0000000..37745b6
--- /dev/null
+++ b/src/pages/GameOfSimPage.tsx
@@ -0,0 +1,13 @@
+import GameOfSim from '@/components/GameOfSim';
+
+const GameOfSimPage = () => {
+ return (
+
+ );
+};
+
+export default GameOfSimPage;
\ No newline at end of file
diff --git a/src/pages/theme-pages/Games.tsx b/src/pages/theme-pages/Games.tsx
index 7e0a5a9..6818bee 100644
--- a/src/pages/theme-pages/Games.tsx
+++ b/src/pages/theme-pages/Games.tsx
@@ -2,13 +2,7 @@ import Layout from "@/components/Layout";
import GamesGallery from "@/components/GamesGallery";
const Games = () => {
- return (
-
-
-
-
-
- );
+ return
;
};
export default Games;
\ No newline at end of file