jev-gomoku
MoonBit client for Jev with a CLI and a Jev-versus-Jev gomoku match, plus a tool turning timed game logs into GIFs.
Overview
jev-playground (jev-gomoku) is a Japanese-language MoonBit project for using Jev. It contains an API client (model listing and System One requests, with JSON conversion for noul, choice and score questions and typed responses), a single-question CLI, a CLI that has Jev play gomoku against itself by judging the board and candidate moves each turn, and a tool that converts game logs with measured milliseconds per move into real-time GIFs.
The CLI demo evaluates all three question types in one request and accepts state as text, JSON or files. An accompanying article on Zenn describes the Jev-versus-Jev match. It requires the MoonBit toolchain and a TypeSafe key passed via environment variable or flag.
What the decision model decides
| Type | Question | Answers |
|---|---|---|
| Choice | Which candidate move should be played on this board? | — |
| Yes / no | This message is spam. | — |
How it works
- Set TYPESAFEAI_API_KEY and run moon update
- List models or ask single questions via the CLI
- Run the gomoku CLI for a Jev-vs-Jev match
- Convert timed logs to a GIF
Strengths
- MoonBit client for Jev
- Real-time GIF replays with measured latency
Caveats
- Japanese documentation
- Game demo; no strength measurement
Getting started
`export TYPESAFEAI_API_KEY=...`, `moon update`, then `moon run --target native cmd/jev -- --pretty` or `moon run --target native cmd/gomoku --`.At a glance
- Type
- Library
- Status
- prototype
- Language
- MoonBit
- Runtime
- Native CLI
- Has code
- yes
Use cases and integrations
How curated lists describe it
MoonBit client plus Jev-vs-Jev gomoku; write-up: [jev 同士に五目並べで対戦させた](https://zenn.dev/mizchi/articles/jev-plays-gomoku).
AnotiaWang/awesome-decision-modelsMoonBit client for Jev plus a Jev-vs-Jev gomoku match, with timing logs.
hellogumbo/awesome-jev
Frequently asked questions
What does Jev decide?
Which candidate move to play in gomoku, and any question asked via the CLI.
What language is it in?
MoonBit.
Is there a write-up?
Yes, an article on Zenn about the Jev-vs-Jev match.
Related projects
Dependency-free TypeScript library that converts raw app and game state into labelled bands and pruned lists that Jev reads reliably.
AppbetaTypeScriptTypeSafe SDK for the Godot 4.7 game engine, described as at parity with the Python SDK and HTTP API.
LibraryGDScriptSource for browser chess and Chess960 where code computes each legal move's facts and Jev picks one per turn as a typed Choice.
ProjectproductionTypeScriptBrowser 1v1 sniper arena where Jev reads match state about 9 times a second and chooses movement, aim, ADS, firing and jumping.
ServicebetaTypeScriptInstrumented 2048 web lab where every move is a Jev Choice over four directions, with probabilities, latency and cost shown live.
ProjectbetaTypeScriptFifteen live arcade games where Jev and LLMs play each other, led by WikiRace in which Jev picks only real links.
ProjectbetaTypeScript