Skip to content

Jev Rps

Jev RPS is rock-paper-scissors against TypeSafe's Jev with a commit-then-reveal protocol: the server seals Jev's move with a salted SHA-256 commitment and AES-256-GCM encryption before your buttons unlock, and the browser recomputes the hash after the reveal.

Stars
1
Language
JavaScript
License
MIT
Published by
Community
Author
0xlau
Last verified
Oct 2026

0xlau/jev-rps

User repository on GitHub

View on GitHub

Jev 对拳 · AI 先出拳,你再选择。每一局都可核验。

Forks
0
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.Homepage

About this project

[![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![MIT License][license-shield]][license-url] [![LinkedIn][linkedin-shield]][linkedin-url] Jev throws first — and every round is verifiable. View Demo · Report Bug · Request Feature. Usage Roadmap Contributing License Contact Acknowledgments.

Quoted from the project's README. Read the full README.

Highlights

  • Jev commits before you move, and if the provider fails the round simply stops rather than substituting a fabricated move.
  • Verification runs client-side: the browser stores the commitment first, then recomputes and compares the hash after the reveal.
  • Every completed round in the series feeds Jev's next decision, up to 500 rounds, with readouts for regularity, cunning, instability and strategy shift.
  • An optional early peek is a real DOM element, so unrevealed moves never reach the page, and peeked rounds are tracked separately from blind play.

Watch out

The commitment only proves Jev did not change its move after sealing; it says nothing about how strong its play is or whether series context actually influences it. If the provider fails mid-round the round stops, so flaky upstream ends a series rather than producing a result. GAME_SECRET must be at least 32 characters, must be set as a server-side variable with no NEXT_PUBLIC_ prefix, and must stay stable across deploys, since rotating it invalidates old fairness proofs and history signatures. The TypeSafe key is typed into the page and held in page memory only, and dev mode auto-generates a temporary sealing key, so old series do not survive restarts without a fixed secret. GA4 is optional and off by default, but enabling it requires a consent banner and Consent Mode for EU or UK visitors. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

32GitHub stars
Jev-protocol random baseline that answers noul, choice, and score questions from fast pseudorandom numbers without reading the prompt.
Jev Demos & Experiments#community#jevbest#catalog-import
24GitHub stars
Native macOS computer-use agent on Apple silicon that finds controls with local CoreML detection, OCR, and accessibility, then asks Jev to pick the next finite-choice action.
Jev Demos & Experiments#community#jevbest#catalog-import
7GitHub stars
Browser playground for trying Jev decisions: pick a preset scenario, edit state and typed noul, choice, or score questions, then read probabilities back. Runs against OpenRouter, Vercel AI Gateway, or the TypeSafe API with your own key.
Jev Demos & Experiments#community#jevbest#catalog-import
2GitHub stars
Ten runnable JavaScript experiments on agent decisions, each pairing a small Jev judgment with visible application policy code, plus authored fixtures so the whole set runs offline.
Jev Demos & Experiments#community#jevbest#catalog-import
2GitHub stars
Three dependency-free files that put Jev in a browser agent's hot path: code builds the choices from a table of visible controls, Jev picks an operation and target in one forward pass, and the code executes the pick.
Jev Demos & Experiments#community#jevbest#catalog-import
Two worked Jev examples you can run today through OpenRouter without an early-access key: seven-question ticket triage batched into one request, and a re-ranker that fans one question out per candidate and sorts on the returned probability.
Jev Demos & Experiments#community#jevbest#catalog-import

From the Jev guides

Original write-ups on what this entry is for.

A game tick is a state plus a legal action list. How Clash Royale, Minecraft, and the earlier Mario, Pokémon, StarCraft, and drone loops ask Jev one step at a time.
Jev Demos & Experiments#gaming#agents#control
Read article
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai