Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Jev Pac-Man 🟡

You drive Pac-Man with the keyboard; Jev drives the ghosts hunting you — one API call picks both directions each turn, with the confidence behind each. Eat every dot before they catch you. Every decision is one real call to Jev, TypeSafe AI's System One model — a typed, calibrated decision (a choice, score, or yes/no probability) in ~100–300 ms, no chat, no hallucinations.

Run it locally

A single, dependency-free index.html — no build, no framework.

  1. Open index.html in a browser.
  2. Click ⚙︎ Jev API key, paste a key, Save.
  3. Play.

Get a key

  • jevtypesafeai.com — a key in a minute, no waitlist (endpoint is browser-ready).
  • Or an official TypeSafe key — switch the endpoint in settings (the official API may block direct browser calls via CORS; use jevtypesafeai.com or a proxy).

Your key is stored only in your browser's localStorage and sent straight to the endpoint you pick.

How it works

You steer Pac-Man. On a throttled cycle the board is sent to Jev as one call with two choice questions (one per ghost) over each ghost's legal directions; Jev's picks become the ghosts' headings. It's LLM-style judgment as real, live game-enemy AI.

const res = await fetch("https://jevtypesafeai.com/api/v1/decide", {
  method: "POST",
  headers: { "Content-Type": "application/json", Authorization: `Bearer ${JEV_KEY}` },
  body: JSON.stringify({ state, questions }),   // situation + typed questions
});
const { answers } = await res.json();           // typed decision + probabilities

The same primitive you'd drop into a real product. More: live page · all Jev tools · API docs.


Made with Jev · MIT licensed · PRs welcome.

About

You drive Pac-Man; Jev — TypeSafe AI's decision model — drives the ghosts hunting you, one real typed decision per turn. Single-file, no build. Play free: jevtypesafeai.com/games/jev-pacman

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages