Commit ce096db
Add TAS bot session abstraction for deterministic gameplay exploration
Introduces runtime/testing/tas.ts with three key abstractions:
- inputSequence(): fluent DSL for building frame-by-frame input sequences
- createTASSession(): stateful session with step/checkpoint/branch/search
- serializeRecording/deserializeRecording: recording persistence
34 new tests covering input builder, session stepping, checkpoints,
branching, BFS goal search, and end-to-end TAS workflows.
https://claude.ai/code/session_01Nkfpuox6vhiCzp9Bh3mwZe1 parent ab350a2 commit ce096db
4 files changed
Lines changed: 1091 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
76 | 91 | | |
77 | 92 | | |
78 | 93 | | |
| |||
0 commit comments