Dev Tools · 1h ago
Developer Ships Neural Network Opponent in Browser, No Backend Needed
A developer created a browser-based four-in-a-row game where the AI opponent runs entirely client-side using ONNX Runtime Web. The neural network, trained via self-play, fits in a 3.9 MB file and makes moves in 120 ms. The game uses a non-standard 9x8 board to avoid solved strategies.
Meridian48 take
A neat technical demo, but the real story is how ONNX Runtime Web enables complex AI inference in the browser without server costs.
Read the full reporting
I shipped a neural-network opponent into the browser: no backend, no accounts, 120 ms per move →
DEV Community
onnx-runtime-webbrowser-ai