test: revert FOODS_PER_LEVEL back to 2 for final testing

- Change from 1 back to 2 for normal gameplay
- Now need 2 foods to level up instead of every food
- Score sequence should be: +1, +1, lvlup, +2, +2, lvlup, +3, +3, etc.
- Testing that score calculation works correctly with threshold of 2
This commit is contained in:
2025-10-30 23:11:14 +00:00
parent 804749ea53
commit f5886e5376
+1 -1
View File
@@ -5,7 +5,7 @@ import type { UseCursorType } from "../useCursor";
import type { UseFoodType } from "../useGame/useFood";
const INITIAL_FPS = 5;
const FOODS_PER_LEVEL = 1;
const FOODS_PER_LEVEL = 2;
export function useGameStatus(
boardManager: UseBoardType,