feat: add foodsPerLevel to GameOptions with default of 10
- New option: foodsPerLevel (defaults to 10)
- Controls how many foods must be eaten to level up
- Example: useGame({ foodsPerLevel: 5 })
This commit is contained in:
@@ -33,6 +33,7 @@ export type GameOptions = {
|
||||
rows?: number;
|
||||
timeLimit?: number;
|
||||
startingLevel?: number;
|
||||
foodsPerLevel?: number;
|
||||
};
|
||||
|
||||
// ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user