typesafe-snake
Watch Jev choose each legal move in a live Snake game.
What Jev decides
Which currently legal direction to take.
typesafe-snake gives Jev a bounded move Choice each game tick while code computes legal moves, food distance, and dead-end risk.
- Jev role
- Choose a direction for the next Snake tick.
- Input
- The current board and code-computed facts about legal directions.
- Output
- One Choice result for the next move.
- Decision frequency
- Once per game tick.
- Fallback
- The snake continues straight if Jev misses the tick deadline.
How it works
Overview
The game engine computes legal directions and facts such as food distance, reachable space, and dead ends. Jev selects one direction from those options once per tick. The server-side proxy holds the API key; the browser displays the board and decision feed. If the answer misses the tick deadline, the snake continues straight rather than waiting for the model.
- Language
- TypeScript
- Author
- sorrycc
Sources
Related projects
Jev Plays Balatro
Let Jev plan and play Balatro from structured game state.
What Jev decides
Hand focus, spending posture, and the next legal gameplay action.
Jev × NetHack
Run Jev-controlled NetHack with recordings and reproducible research traces.
What Jev decides
Which currently available game action to take next.
Jev Chess
Play chess against Jev and inspect the moves it considered.
What Jev decides
Which legal move to play and where the position sits on a seven-level evaluation scale.