test: increase initial game speed to 12 FPS for easier testing

- Change INITIAL_FPS from 5 to 12 for faster gameplay
- Makes it easier to test key buffering at higher speeds
- Can be reverted once testing is complete
This commit is contained in:
2025-10-30 22:47:49 +00:00
parent c803df242a
commit a3c9f201be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import type { UseRendererType } from "./useRenderer";
import type { UseSnakeType } from "./useSnake";
import type { UseFoodType } from "./useFood";
const INITIAL_FPS = 5;
const INITIAL_FPS = 12;
const FOODS_PER_LEVEL = 2;
export function useGameStatus(
+1 -1
View File
@@ -4,7 +4,7 @@ import type { UseBoardType } from "../useBoard";
import type { UseCursorType } from "../useCursor";
import type { UseFoodType } from "../useGame/useFood";
const INITIAL_FPS = 5;
const INITIAL_FPS = 12;
const FOODS_PER_LEVEL = 2;
export function useGameStatus(