Files
vim-maze/example
pastilhas 7b0b8ee0aa feat: add runtime gameInfo enrichment with gameOver condition
- Add gameOverCondition to GameManager for runtime tracking
- Create enrichGameInfo() function to merge runtime condition with static gameInfo
- Add formatGameOverCondition() utility to stringify boolean/function conditions
- Returns enriched info with:
  - condition: formatted string representation
  - type: 'none' | 'static' | 'function'
- Platform can call enrichGameInfo(gameManager) to get complete game configuration
- Handles all condition types: undefined, boolean, function
- Truncates long function strings at 200 chars
2025-11-02 17:20:21 +00:00
..
2025-10-14 13:33:51 +01:00
2025-10-14 13:33:51 +01:00
2025-10-14 13:33:51 +01:00
2025-10-14 13:33:51 +01:00
2025-10-14 13:33:51 +01:00
2025-10-14 13:33:51 +01:00
2025-10-14 13:33:51 +01:00
2025-10-14 13:33:51 +01:00

example

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.2.23. Bun is a fast all-in-one JavaScript runtime.