This is a short post with very little real content. I wanted to test how easy it will be to make a snake game with GPT-5, using the Codex programming assistant (agent?) that is able to generate pull requests directly into a github repo.
My goal was to make something simple that compiles to wasm and then deploy it on a Hugo page (which is the publishing tool used to build this blog), just to see how easy it may be. Conclusion: it’s easy. I hardly read the code at all, so for all I know it may be very bad.
To make things more interesting, I asked it to add a 3d mode where the snake can wander around in 3 dimensions. There, I spiralled into a very bad time. Although the LLM was able to generate a working game (which was pretty impossible to control) there were tons of errors found upon deployment and I ended up spending about 2 hours trying to get the thing deployed properly. I ended up not doing the 3d version. I guess this is where the story ends for now. Pure vibe coding has its limits at the moment, and 3d-snake-wasm seems to be near the frontier.
Enjoy what we were able to build!