jevbooks

← All projects

typesafe-snake

sorrycc/typesafe-snake

Jev picks one legal Snake move per tick.

Automated README summary

Automatically summarized from the README on 20 Sept 2026; not a run by jevbooks. Run instructions and author-reported outcomes still need verification.

What it is

A TypeScript web app where TypeSafe's Jev, a System One decision model, auto-plays Snake in real time. Built for developers exploring typed, non-LLM decisions in a game loop.

How it uses Jev

Code computes legal moves and facts per move (food distance, flood-fill reachable cells, dead ends). Jev answers one `choice` question per tick; the controller asks at tick start and plays whatever arrived by tick end, defaulting to straight if late.

Primitives:choice

Technique worth stealing

Fixed-clock loop: ask the model at tick start, play the answer at tick end, fall back to a code-generated move on timeout.

Try it

cp .env.example .env, set TYPESAFE_API_KEY, then pnpm install and pnpm dev.

View on GitHub

Start using Jev: API key and your first request →

Model judgments from README excerpts

Project signals use repository metadata, an existing summary and the first 700 README characters, not the full project. “Not found” means not detected in that material; it does not establish absence. These are the original judgments with recorded models and dates, not source audits or run results.

Models & evaluation dates

Inclusion gate
jev-1.13.0
Project signals
jev-1.13.0
Category
jev-1.13.0
Pattern tags
jev-1.13.0

Evidence

These signals use repository metadata, an existing summary and at most 700 cleaned README characters. ≥ 0.60 means reported in that excerpt; ≤ 0.40 means not found there. The middle band is inconclusive. None is a source-code audit or a test result. The runnable-tool question excludes research experiments; the recommendation question asks for a learning shortlist, not a quality verdict.

  • Jev is core to the projectFound in material0.96
  • Shows a System One patternFound in material0.94
  • Describes handling uncertaintyFound in material0.72
  • Reports measured numbersnot found in the excerpt0.05
  • Is a runnable toolFound in material0.94
  • Top-10 learning shortlist signalunclear0.51
  • Is a replica of the modelnot found in the excerpt0.05
  • Solves a common problem (0–2)score on a 0–2 scale0.00 / 2
  • About JevFound in material0.98
Signals
Jev is core to the project0.96Shows a System One pattern0.94Describes handling uncertainty0.72Reports measured numbers0.05Is a runnable tool0.94Top-10 learning shortlist signal0.51Is a replica of the model0.0500.51Solves a common problem (0–2)0.00 / 2012

no-judgment band (0.40–0.60)

Design patterns
Fail open, fail closed0.75Viewfinder0.28Funnel0.2000.51

no-judgment band (0.40–0.60)

The Jev model and date for each judgment stage are listed above. Card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.