Games played by Laya
Games are the most popular way to show what a fast decision model can do. Each frame becomes a state, the model answers a typed question, and the game acts on the answer. The best demos also show where Laya needs help from ordinary code.
294 projects
lagos-monopoly
vunderkind
Runs two local Laya agents through a Lagos-themed Monopoly game and creates animated replays
laya-plane-battle
wjw1-Evan
A browser-based plane battle game uses a local Laya model to make real-time gameplay decisions
jev-vs-laya-dino
RodolfoBonis
A Chrome Dino game demo compares Jev and Laya on gameplay, latency, cost, and performance
local-ai-tetris
jaredjlg2
Runs local Tetris games with Laya and other AI models making inspectable decisions
chess-system-one
aalekhpatel07
A chess frontend lets users play against decision models including Laya
doomgemma
dexmac221
Compares Laya with fine-tuned Gemma models in FreeDoom accuracy, calibration, latency, and gameplay tests
laya-vision-microduck-kick-demo
thaitea
Demonstrates a Laya vision model controlling a simulated duck robot to find and kick a ball
laya_vision-vs-SF2
beefkknd
Fine-tunes a Laya vision model to choose moves in Street Fighter II
Miya
snowman6-git
Korean-first Minecraft agent driven by a fine-tuned Laya decision model
Chess_JEV_vs_Laya
GauravAtavale
Provides a chess game featuring matches between Jev and Laya
layapilot
sanjeevranjaniitb
Simulates autonomous driving with Laya making real-time typed decisions
doom_laya
Rktim
Uses Laya to choose actions for a Doom marine in a ViZDoom experiment
laya-lab
BramBouma
Offers two playable local simulations featuring real Laya decisions, rules baselines, and replay
laya-ludo
mnk786
A browser-based four-player Ludo game uses Laya and Jev to choose legal moves
laya_pong
luceinrock
A Pong game uses Laya to refine server-side AI paddle moves
neo-vs-morpheus
hakkisagdic
An Ultima Online duel bot driven by local Laya or cloud Jev decision models
laya-android
edwardmonteiro
An Android space dogfight uses Laya’s typed decisions to control an enemy fighter
laya-mlx-mirror-227
Shijiuwei
Runs Laya inference locally on Apple Silicon using MLX, with a terminal Snake demo
jev-hearthstone
ChienIKao
Automates Hearthstone play using local Laya decisions and Android emulator controls
laya-ai
iSabbir
Combines the Laya decision engine with support-triage tools and AI-guided browser games
laya-chess
Srimanvarma001
A local chess app compares Laya-suggested moves with a one-ply material check
laya-mario
darpan-97
Fine-tunes Laya to play Super Mario Land and provides replayable level runs
laya_demo_test
j75689
A Snake demo compares Python and Rust Laya runners with ONNX Runtime and Core ML backends
laya-f1-finetune
huzaifashuja
Fine-tunes Laya to compare Formula 1 engines and cars
Run one locally
Snake on a Mac from laya-mlx:
pip install 'laya-mlx[demo]'
hf download aac6fef/laya-multilingual-mlx
laya-snake
The README reports 75.40 moves/s over 2,400 moves on an M3 Max with --optimize --max-speed, with zero deaths and two visible safety interventions. laya-coreml has a Neural Engine version at 49.1 to 50.0 decisions/s.
Flappy Bird on an Intel CPU from flappy-laya-openvino-cpu, with one noul question per frame:
pip install -r requirements.txt
python flappy_bird.py
Its README reports a mean 28 ms per decision with the INT8 OpenVINO model.
More games
- laya-pong: browser Pong with a native Laya paddle at 18.7 ms p50 on Metal.
- laya-vs-jev: Laya (MLX) and Jev (API) play Chrome's T-Rex side by side.
- laya-vs-jev-arena: a snake race and a fighting game, Laya vs Jev or vs a human.
- open-jev-laya: Gomoku, Big Two and a 3D maze entirely in the browser.
- laya-playground: Flappy, a lane runner and Tetris, plus an editor.
- kevala: Tetris in the browser on WebAssembly and WebGPU.
- Laya4j: Snake and a Spring Boot Tetris in Java.
What the demos teach
- Describe the state in words. In laya-pong, the model matched the reference controller when the state was a sentence and never moved when it was three numbers. The Flappy Bird author saw the same effect: with a JSON dict the model answered about 0.9 on every frame.
- Make options phrases. "move the paddle up" beat "up" in laya-pong: 5/5 correct against 3/5.
- Keep a planner and a safety layer. The Snake and T-Rex demos use planner features and a safety layer that can override unsafe moves. Their scores measure the whole system, not the model alone, and the READMEs say so.
More ways to use Laya