organized types

This commit is contained in:
2025-10-19 16:11:38 +01:00
parent 252027dab2
commit a69b7bbb5f
27 changed files with 231 additions and 203 deletions
-2
View File
@@ -1,12 +1,10 @@
import { useGame } from "../../src/useGame";
import { useKeyBindings } from "./useKeyBindings";
import { useMounted } from "./useMounted";
import { useIsMobile } from "./useIsMobile";
import '../../src/game.css';
function App() {
const isMobile = useIsMobile();
const mounted = useMounted();
const cols = isMobile ? 12 : 32;
const rows = isMobile ? 8 : 24;