Jev directory
CommunityJev Demos & Experiments
Snake Arena
Two self-contained HTML pages that let System One models and LLMs play Snake: a single-player board and a 1 vs 1 duel, with seeded food, per-move latency, cost tracking and downloadable JSON results.
- Stars
- 1
- Reading time
- 2 min
- Published by
- Community
- Added
- Oct 2026
Highlights
- Two dependency-free HTML pages: single-player snake-arena.html and 1 vs 1 snake-arena-duel.html
- Supports OpenAI chat completions, OpenRouter Decisions and System One /v1/decisions endpoints
- Same seed produces the same food sequence, so runs are reproducible and comparable
- Tracks score, ticks, invalid moves, accuracy, mean/P50/P90 latency and cost per player
- Requests time out after 60 seconds; more than 5 invalid moves in a row loses the game
Questions about this entry
Short answers drawn from the linked project or page.
Clone the repo or download the HTML file you want and open it in a browser. If your API provider rejects requests from file://, serve the folder locally with python3 -m http.server 8000.
Click API key, fill in the endpoint, model ID and key, then save. Each player stores its own connection in browser localStorage, and the key is sent as an Authorization Bearer header.
Requests go straight from your browser to the API provider you configure, so the provider must allow CORS. Keys are stored only in your browser's localStorage and are masked in the console log.
In order: more points, then still alive at the tick limit, then more ticks survived, then the faster model by lower P50 latency.
OpenAI chat completions, OpenRouter Decisions at /api/alpha/decisions, and System One at /v1/decisions where the model field is optional. Mismatched URLs are corrected automatically.
Requests time out after 60 seconds, reversing 180 degrees or sending a non-direction counts as an invalid move, and more than five invalid moves in a row loses the game.
It is a browser benchmark for comparing models at Snake, not a production harness, and sandboxed previews that block external APIs will not work.
Reactions & coverage
Posts, threads, and videos about this entry from around the web.
X: Text-to-screenshot (Malay Vasa)
X: Google's MediaPipe Decision Maker, tested in the browser
Hacker News: Software Bombe and live Enigma demo where Jev ranks cribs and judges plaintext.
ag_212 pointsShow HN: Jev as the Bletchley Park Analyst: A Software Bombe on EnigmaRead the thread on Hacker NewsHacker News: Show HN for public Minecraft PvP where a diffusion LM picks moves from structured state.
2 pointsShow HN: Minecraft PvP against DiffusionGemma-as-Jev, 24 ms per decisionRead the thread on Hacker NewsFrom the Jev guides
Original write-ups on what this entry is for.
From the Jev AI model community
Posts from builders shipping with Jev right now.