Skip to content
System One

JoelLewis/game-coach

A browser chess coach on Cloudflare where Stockfish owns the truth about the position and Jev makes the coaching judgment after every move.

JoelLewis/game-coach on GitHub

Stars
0
Forks
1
Language
TypeScript
License
GPL-3.0
Last push
20 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

export type JevBinding = {
  run(model: "typesafe/jev", input: JevRequest): Promise<unknown>;
};

export class JevResponseError extends Error {
  readonly raw: unknown;

  constructor(message: string, raw: unknown) {
    super(message);
    this.raw = raw;
    this.name = "JevResponseError";
  }
}

const isRecord = (value: unknown): value is Record<string, unknown> =>

View in apps/spike-jev/src/jev.ts

Open on GitHub

More like this

Keep browsing