Building a Game with Grok and Training a PPO Agent: Open Source Project

tetsuoai · x · 2026-09-02

The author used Grok to build the browser game Roofline and trained a PPO agent on a headless port of the game. The agent plays live on the website as 'Tetsuo MLBot', achieving a high score of 39,359. The project is open source with code and weights available for local training or direct deployment. The Python sim matches live physics at 120 Hz and includes optimizations like net injection to reduce input latency.

Related event: Developer Uses Grok to Build a Game and Train a PPO Agent to Play It(3 posts)→

Original post →

More from coding & agent

coding & agent channel →