hypercross
34cb828f60
test: refactor and format test files
...
- Update `game.test.ts` to use `_ctx` when `this` is not required
- Fix type assertion in `boop.test.ts`
- Update `command-runner.test.ts` to use `parseCommandSchema` in prompt
tests
- Reformat `middleware.test.ts` to use double quotes and consistent
indentation
2026-04-20 15:50:32 +08:00
hypercross
974c1a828c
test: reformat and expand test coverage
2026-04-20 15:37:15 +08:00
hypercross
0c94e6923a
test: reformat tests to use double quotes and improve style
2026-04-20 15:16:03 +08:00
hypercross
6b736ab083
fix: more tests
2026-04-07 15:13:10 +08:00
hypercross
6352977791
chore: add more tests
2026-04-06 16:11:26 +08:00
hypercross
6cfb3b6df8
refactor: PromptDef
2026-04-06 15:54:02 +08:00
hypercross
fe3bef0a01
chore: update api / test
2026-04-06 15:02:31 +08:00
hypercross
49109963bc
refactor: hide api
2026-04-06 12:05:11 +08:00
hypercross
21b91edc1a
fix: api tests
2026-04-06 10:52:22 +08:00
hypercross
e673f60657
refactor: update api
2026-04-06 10:39:10 +08:00
hypercross
2d5200bdb7
refactor: renaming api
2026-04-06 09:48:20 +08:00
hypercross
8c2c6dc94c
fix: fix tests
2026-04-05 10:42:38 +08:00
hypercross
cc7f302677
refactor: make game host return the setup promise
2026-04-04 23:58:12 +08:00
hypercross
b9105efd03
fix: fix tests
2026-04-04 22:23:15 +08:00
hypercross
25f9992be6
refactor: remove host options
2026-04-04 14:06:27 +08:00
hypercross
22d40fdc50
refactor: remove setup command from host creation
2026-04-04 12:48:51 +08:00
hypercross
be4ff7ae08
feat: add currentPlayer to prompt
2026-04-04 11:01:25 +08:00
hypercross
d1264f3b9e
chore: add full game test
2026-04-04 01:11:09 +08:00
hypercross
697d23e932
feat: add game host
2026-04-04 00:55:09 +08:00
hypercross
50c146964d
chore: update tests and imports
2026-04-03 17:56:35 +08:00
hypercross
eb0ebf5411
refactor: transition to non child entity format
2026-04-03 12:46:50 +08:00
hyper
b71ba12454
feat: add new functions
2026-04-02 21:58:11 +08:00
hyper
c886e904a8
refactor: change PromptEvent reject/resolve to cancel/tryCommit
2026-04-02 19:08:14 +08:00
hypercross
2581a8e0e6
refactor: add src alias to @/
2026-04-02 16:03:44 +08:00
hypercross
0948e5a742
fix: fix game/region tests.
2026-04-02 15:16:30 +08:00
hypercross
004d49c36f
refactor: update api
2026-04-02 12:48:29 +08:00
hypercross
846badc081
tests: game and tic tac toe
2026-04-02 11:31:57 +08:00
hypercross
1cb7fa05ec
refactor: rewrite game & tic tac toe
2026-04-02 11:06:29 +08:00
hypercross
40788d445d
refactor: replace rule.ts with a command runner based solution
2026-04-02 09:33:03 +08:00
hypercross
281cbf845d
refactor: change CommandSchema's options/flags to be Records
2026-04-02 08:29:40 +08:00
hypercross
e06dc8ecba
refactor: improve rule handling
2026-04-02 00:44:29 +08:00
hypercross
ff9d9bd9a1
refactor: fix command parsing
2026-04-02 00:14:43 +08:00
hypercross
b33c901c11
feat: add tic-tac-toe with rule invoking rule
2026-04-01 23:58:07 +08:00
hypercross
dbd2a25185
refactor: fix reactivity
2026-04-01 22:57:33 +08:00
hypercross
ad0d349090
chore: tests for rule
2026-04-01 22:31:07 +08:00
hyper
00bed92d46
fix: change the way region align works
2026-04-01 18:33:09 +08:00
hyper
729f15c2bf
fix: fix region align & shuffle
2026-04-01 17:48:40 +08:00
hyper
df9698b67b
feat: rng & commands impl & tests
2026-04-01 17:34:21 +08:00