Skip to content

Jev Tetris

Real-time versus Tetris where Jev and an LLM or open Laya model pick placements on the same seeded pieces and clock.

Projectprototype

Overview

Jev vs the LLMs is a real-time Tetris battle in which Jev faces Claude Haiku 4.5, Gemini 3.8 Flash or Laya, an open-weight typed-decision model running locally. Both sides share a seeded piece sequence, the same options and the same clock. When a piece spawns the model is asked at once while gravity keeps pulling; if the piece lands before the answer arrives it locks where it fell, so latency is part of the game. Cleared lines become garbage rows on the opponent's board, and gravity speeds up on a shared schedule.

Code enumerates every legal placement and describes each outcome in words (lines cleared, holes, height, surface, wells). Jev answers with a Choice over those options; the LLMs answer through a forced place_piece function call with an enum of the same options; Laya, with a 512-token context, gets a short board description and the six best placements pre-ranked by heuristic. Per-model stats include latency, missed deadlines and invalid answers. A live version runs on Vercel with bring-your-own keys.

What the decision model decides

TypeQuestionAnswers
ChoiceWhich legal placement should this piece take?—

How it works

  1. Piece spawns; code enumerates legal placements with outcome descriptions
  2. Model is asked immediately while gravity continues
  3. Answer slides and hard-drops the piece; late answers mean the piece locks where it fell
  4. Cleared lines send garbage to the opponent; stats are tracked

Strengths

  • Makes latency visible as a game mechanic
  • Same options and information for each model
  • Includes an open-weight local opponent
  • Live hosted demo

Caveats

  • No licence file per listing
  • Requires a TypeSafe key plus an Anthropic or Gemini key for LLM opponents

Getting started

Play at https://jev-tetris.vercel.app with your own keys, or run Laya locally for a keyless opponent.

At a glance

Type
Project
Status
prototype
Language
TypeScript
Runtime
Browser / Vercel
Has code
yes

Use cases and integrations

How curated lists describe it

  • Jev play Tetris in real-time against other AI models.

    hellogumbo/awesome-jev
  • Two models play Tetris on a shared seeded piece sequence under the same clock; a piece that lands before the answer arrives locks where it fell. No licence file.

    MrJev/awesome-jev

Frequently asked questions

Who can Jev play against?

Claude Haiku 4.5, Gemini 3.8 Flash or a locally hosted Laya model.

What if a model answers too slowly?

The piece locks wherever it has fallen, counted as a missed deadline.

Is it fair across models?

All get the same legal options; Laya receives a shortened, pre-ranked list because of its 512-token context.

Related projects

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

    ProjectbetaTypeScript
  • One-page web app where Jev plays chess against OpenRouter LLMs, Stockfish or you, showing the moves it weighed and their probabilities.

    AppbetaJavaScript
  • Pac-Man where Jev or other System One models choose each move at junctions, with live odds, fallbacks and a leaderboard.

    ProjectbetaTypeScript
  • Browser chess lab where Jev, LLMs and people play, each Jev turn being one Choice over the legal moves, with Stockfish analysis.

    ProjectbetaPython
  • NiceGUI desktop chess app for evaluating Jev's move choices against Stockfish, random players or itself, with PGN export.

    ProjectprototypePython
  • Browser 2D driving sim where Jev answers lane, speed, hazard and pedestrian-yield questions every 200 ms, with an LLM comparison mode.

    ProjectprototypeJavaScript