Skip to content
System One

anxkhn/JevPlaysPokemon

Jev plays Generation 3 Pokemon through Showdown and a real FireRed ROM, with no screenshots involved. Each turn the host reads the battle out of RAM and hands Jev the legal moves and switches; the author points a deliberately underlevelled party at the Elite Four.

Jev picking Thunderbolt on the live FireRed dashboard
Image from github.com

anxkhn/JevPlaysPokemon on GitHub

Stars
5
Forks
1
Language
HTML
License
GPL-3.0
Last push
18 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

const response = await fetchImpl('https://api.typesafe.ai/v1/systemone', {
  method: 'POST',
  headers: { Authorization: `Bearer ${key}`, 'Content-Type': 'application/json' },
  body: JSON.stringify(request),
  signal: AbortSignal.timeout(45000),
});
if ([429, 500, 502, 503, 504, 529].includes(response.status) && attempt < 2) {
  const retry = Number(response.headers.get('retry-after'));
  await response.body?.cancel();
  await sleep(Math.min(30000, Math.max(1000 * 2 ** attempt, Number.isFinite(retry) ? retry * 1000 : 0)));
  continue;
}
if (!response.ok) throw new Error(`TypeSafe API HTTP ${response.status}. Check your key, balance, and service availability.`);
const result = await response.json();
const answer = validateAnswer(result, actions);

View in jev.js

Open on GitHub

More like this

Use cases this is tagged with