Saltar al contenido
Jev

← All games

Live demo · Watch mode

Jev plays 2048

Every move is one real Jev call: the board goes to the API, Jev picks a direction, we play it. Watch the decision counter climb — each one in milliseconds, for a fraction of a cent. Free demo capped at 80 moves/day per visitor.

¿Te gustó decide? Quédate

Las rondas anónimas son limitadas. Crea una cuenta gratis para tokens mensuales y recarga un pack pequeño al integrar.

≤3 free · +10,000 /mo · $5+

Obtener clave APICuenta

decisions

0

last latency

—ms

Jev cost

$0.00000

score

0

best tile

2

Press play — watch Jev decide each move live

2
2

0.0 decisions/sec · 0 input tokens · free anon cap 80/day

Decision stream

  • press play — watch Jev decide live

The same demo is one Jev call

  1. Read the current board + score
  2. List the legal moves: UP / DOWN / LEFT / RIGHT
  3. Send the board + choices to Jev as one choice question
  4. Jev returns the move it judges best
  5. Play it, spawn a tile, repeat

~120 decisions/game · ~200ms each · well under 1¢ at retail rates

Hosted decide — 2048 move
const res = await fetch("https://jevtypesafe.org/api/v1/decide", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    Authorization: `Bearer ${process.env.JEV_API_KEY}`, // jv_live_...
  },
  body: JSON.stringify({
    state: board, // grid + score as text
    questions: {
      move: {
        type: "choice",
        instructions: "Best move for this board?",
        criteria: {
          up: "slide up",
          down: "slide down",
          left: "slide left",
          right: "slide right",
        },
      },
    },
  }),
});
const { answers } = await res.json();
play(answers.move.choice); // → "down"

This page's Play button hits a rate-limited demo route (POST /api/games/2048/tick). Production apps should call POST /api/v1/decide with a jv_live_ key from Account.

How Jev plays 2048

Every move is a real decide call. The current board — tiles and score — is sent as a typed choice over the legal slides. Jev returns the one it judges best, with a calibrated probability, usually in 100–300ms. We slide, spawn, and ask again. It is not a specialised 2048 solver — that is the point: a general decision engine making a real call every step.

This is an unofficial community playground. We are not affiliated with TypeSafe AI. Prefer production twins under Tools or the hosted API guide.