Files
vim-maze/src
pastilhas 060c8abb24 feat: add custom gameOver condition to GameOptions
- Add optional gameOver field to GameOptions
- Can be a boolean value or a function that receives scoreManager
- Function receives current score metrics to make dynamic decisions
- Enables flexible game-over conditions beyond just time limit
- Example: gameOver: (sm) => sm.efficiency > 150 for efficiency threshold
- Checked every frame during 'started' and 'has-key' states
2025-11-02 17:01:53 +00:00
..
2025-11-02 16:40:24 +00:00
2025-10-19 16:11:38 +01:00
2025-11-02 16:40:24 +00:00