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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user