Skip to content

turing-jail

Three-level AI interrogation game where Jev gives plea, logic and paradox verdicts on the player's statements.

Benchmarkprototype

Overview

Turing Jail is a web game in which you write statements to a warden and try to earn release over three levels. Jev, through TypeSafe's System One API, analyzes each statement live and returns structured verdicts for plea, logic and paradox.

Players get hexadecimal prisoner IDs, unfinished runs resume after a refresh, and completed runs are sealed in a database and can be shared by URL. It uses SQLite locally and Neon/Postgres in production, and includes an answer test script. The README is short and bilingual (English and Chinese) and does not describe the exact questions or thresholds. Prisoners get six-digit hexadecimal IDs from #000000 to #FFFFFF, and a test script checks the warden's answers. The game is a light example of using a decision model as a judge of free-form player writing.

What the decision model decides

TypeQuestionAnswers
Yes / noDoes this statement pass the plea, logic or paradox check?(inferred)pass · fail

How it works

  1. The player writes a statement for the current level.
  2. Jev returns structured plea, logic and paradox judgments.
  3. The game applies the verdict to decide release or another attempt.
  4. Completed runs are sealed and shareable.

Strengths

  • Shows Jev as a fast judge inside a game loop.
  • Includes an answer test script.

Caveats

  • Exact questions and thresholds are not documented.
  • Requires a TypeSafe API key.

Getting started

bun install && bun run dev, with TYPESAFE_API_KEY and DATABASE_URL in .env

At a glance

Type
Benchmark
Status
prototype
Language
TypeScript
Runtime
Bun web app
Has code
yes
Has tests
yes

Use cases and integrations

How curated lists describe it

  • Interactive three-level AI interrogation game powered by TypeSafe Jev; write responses and pass plea, logic, and paradox verdicts to earn release.

    logicrw/awesome-jev-projects

Frequently asked questions

What does Jev judge?

The player's statements on three dimensions: plea, logic and paradox.

Can I share a run?

Yes, completed runs are sealed in the database and shareable by URL.

What do I need to run it?

Bun and a TypeSafe API key.

Related projects

  • Source for browser chess and Chess960 where code computes each legal move's facts and Jev picks one per turn as a typed Choice.

    ProjectproductionTypeScript
  • Browser 1v1 sniper arena where Jev reads match state about 9 times a second and chooses movement, aim, ADS, firing and jumping.

    ServicebetaTypeScript
  • Instrumented 2048 web lab where every move is a Jev Choice over four directions, with probabilities, latency and cost shown live.

    ProjectbetaTypeScript
  • Fifteen live arcade games where Jev and LLMs play each other, led by WikiRace in which Jev picks only real links.

    ProjectbetaTypeScript
  • Real-time bot battles where you write a fighter's strategy in plain English and a System One model pilots it several times a second.

    ProjectbetaTypeScript
  • Browser extension that lets Jev, local Laya or an OpenAI-compatible model take over a running ra2web (WannaFire) RTS match.

    ProjectbetaTypeScript