Commit Graph

8 Commits

Author SHA1 Message Date
hypercross c25759d147 refactor(onitama): extract tweens into factory functions
Centralize Onitama animation logic by moving inline Phaser tweens
into a dedicated `tweens.ts` configuration file. This improves
reusability and cleans up spawners and renderers.

Also updated documentation to warn against adding interruptions to
looped tweens to prevent game logic hangs.
2026-04-19 12:45:05 +08:00
hypercross 762ed1a63a docs: rename OnitamaGamePatterns.md to GamePatterns.md 2026-04-19 11:20:49 +08:00
hypercross eefcef861a Add game architecture patterns documentation
Document layered architecture, spawner patterns, reactive
UI state, and tween interruption for framework users.
Includes best practices and common pitfalls to avoid.
docs: add architecture patterns documentation

Provide a reference guide for implementing board games with the
framework. Covers layered architecture, reactive scenes, spawner
patterns, UI state management, and common development pitfalls.
2026-04-18 23:32:02 +08:00
hypercross 27e6d52cf3 docs: update docs 2026-04-07 16:29:08 +08:00
hypercross 2984d8b20d refactor: clean up 2026-04-04 13:21:44 +08:00
hypercross cbee709a27 docs: sync updated boardgame-core 2026-04-03 17:45:56 +08:00
hypercross 4d4889f825 docs: fix doc api 2026-04-03 16:19:33 +08:00
hypercross 771afaa053 docs: add usage docs 2026-04-03 16:02:05 +08:00