shipwithjev

Catalog / Games & real time

0021GitHub

JevMinesweeper

Jev plays Minesweeper, one square at a time.

The board goes to Jev as state, and Jev picks the next square. Enes Yilmaz’s demo is small enough to read in one sitting.

EnesYilmazcode/JevMinesweeperREADME ↗
Fly vs Jev: Minesweeper</h1>

<p align="center"><b>A simulated fruit fly brain against an AI model, at Minesweeper.</b><br>
The full wiring of an adult fly, all 166,700 neurons, sees only the revealed clues and picks every square. TypeSafe AI's Jev gets the same view.</p>

<p align="center">
  <img src="media/fly-vs-jev-ladder.gif" width="640" alt="A fly connectome and Jev racing up a mine ladder, five Minesweeper boards each, side by side">
</p>

## How it works

1. **Board.** Each game is beginner Minesweeper: 9×9, 10 mines, and a guaranteed-safe center opening. A seed fixes the minefield before either player moves.
2. **Eyes.** The left eye sees all 81 visible cells. The right eye sees the same board centered on one proposed click. Covered squares, revealed clues, board edges and the candidate marker become photoreceptor spike rates. Hidden mines never enter the input.
3. **Brain.** Each candidate runs through the MaleCNS connectome as a deterministic spiking network for 150 ms. The wiring of its 166,700 neurons and 6.2 million connections is never trained or changed. This is the same simulator as [Flytris](https://github.com/EnesYilmazcode/Flytris).
4. **Move.** A readout over 2,048 L1/L2 neurons scores the candidates and the fly clicks the best one. The readout is the only part that learned: it learned once from a constraint solver that sees only what the player sees, then played these games without it.
5. **Jev.** Jev gets the rules and a coordinate-labelled text board. It judges every covered square as safe or mined, clicks its safest one, and flags as many lowest-safety squares as the board has mines.

Both players get the same seeded boards, and neither is ever shown a hidden mine.

## System design

During a game the solver is never consulted: every fly click 

Also filed under Games & real time

  1. 0535

    What Jev Probably Is, And Why You Already Have One

    A company called TypeSafe AI launched a model this week called Jev. They told us how fast it is. They told us what it costs. They told us it plays Doom in a tenth of a second.…

    medium.com · Games & real time

  2. 0534

    TypeSafe’s Jev Makes AI Decisions Fast Enough to Play Doom

    TypeSafe’s Jev Makes ... Decisions Fast Enough to Play Doom | by Kristopher Dunham | Sep, 2026 | Medium ... # TypeSafe’s Jev Makes AI Decisions Fast Enough to Play Doom ... A…

    medium.com · Games & real time

  3. 0533

    🧵 I wanted to understand what makes Jev different from a normal LLM

    🧵 I wanted to understand what makes Jev different from a normal LLM. So I built a tiny real-time game with it. The AI controls the player and has one goal: Don't get hit.

    @abolbuild · Games & real time

  4. 0532

    Searching for Better Game Recommendations with Jev

    To pick that list better, I tried Jev, a decision model from TypeSafe. I did not have Jev write recommendations. I asked it to rate candidate games, then handed the model that…

    dev.to · Games & real time