Community · E2 · artifact verified
Play Pac-Man on typed decisions in the browser
A single-file Pac-Man that asks the System One endpoint for typed decisions per game tick, playable live without setup or locally with your own key pointed at the official endpoint.
01 · Role in the system
What Jev does here
The game loop packages the board state - Pac-Man's position, the ghosts, the pellets - as fitted state and asks typed decision questions each tick, choosing among the legal moves with probabilities rather than generated text. The README's setup offers two endpoints: the official api.typesafe.ai directly (with a note that browsers may need a proxy for CORS) or a hosted browser-ready decide endpoint, and the key input accepts both TypeSafe keys and the hosted provider's keys. A live hosted version exists for zero-setup play. The implementation is deliberately small - one HTML file - making it a compact template for wiring a browser game loop to typed decisions.
02 · Control boundary
Where Jev sits
Per-tick game state to typed move choices over the System One endpoint; a single HTML file keeps the loop inspectable.
Code owns the loop, permissions, thresholds, validation, and side effects. Jev owns only the bounded judgments described above.
03 · Known limits
What this evidence does not prove
- The hosted endpoint option routes decisions through a third-party proxy (jevtypesafeai.com) rather than the official endpoint; the official endpoint can be selected but may need a CORS proxy.
- Ghost AI behavior beyond the typed questions is classic heuristic Pac-Man logic in the same file.
- Per-tick network calls bound the game speed by round-trip latency.
04 · Attribution
Public sources
This is a Community record: the project was published by a third-party community author.
- codaaiteam ↗Community · github · public · checked 2026-09-25