Skip to content

Jev directory

Flappy Arena

Jev and GPT-6 Luna race through the same Flappy Bird course, with every flap a live model decision. Both birds request flap or wait every 50 ms, and the browser shows each answer applied, superseded or skipped.
Stars
2
Language
JavaScript
Reading time
3 min
Published by
Community
Author
jaibhasin
Last verified
Oct 2026

Highlights

  • A random seed gives both birds the same pipes, physics and launch; each model then sees only its own bird's projected position, velocity and next pipe.
  • Games run at 30% speed while decisions are requested every 50 ms; a flap supersedes pending answers computed from the old flight path.
  • A late or failed answer is not waited on: the bird keeps moving under gravity and the UI marks the answer applied, superseded or skipped.
  • Requires Node.js 22.19+ plus TypeSafe and OpenAI keys; the keys stay on the local server and the game runs at localhost:4173.
  • Jev decisions land in jev-logs.jsonl (latest 50), Luna decisions in luna-logs.jsonl, and browser timing in diagnostics.jsonl.

Quickstart

bash
git clone https://github.com/jaibhasin/jev-flappy-bird.git
cd jev-flappy-bird
npm install
cp .env.example .env
npm start

Watch out

Grounded in the full repo README and GitHub metadata read on 2026-10-15. The repository declares no license and presents no aggregated win or accuracy statistics: this is a live arcade race, not a controlled benchmark, and running it spends both TypeSafe and OpenAI usage.

Questions about this entry

Short answers drawn from the linked project or page.

From 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.

Follow @typesafeai