DOGE SNAKE - A Snake Game Built with PhaserJS
Date: 2025-02-16 | create | games | javascript | phaser |
What is it?
DOGE SNAKE is a Snake-like game where you collect DOGE coins. Except all you can do is watch and eventually the snake will fail.
How it's built
It's built using PhaserJS.
I've been thinking about how to make building little interactive systems easy and highly shareable and I kind of think a small HTML/CSS/JS bundle is probably my best bet as it's easy to run and share anywhere on the internet so that's what I did.
Another thing to call out is this game was built almost entirely by AI (Claude in this case). I've been playing around with AI for awhile and got inspired by the one-shot examples people were sharing so decided to try it here. This was not one-shot as I had to tweak it a bit to get what I wanted out of it but still it did ~90% of the coding itself.
I think AI is probably the future of coding. I would guess that in 5 years most code will be written by AI. But that's really just to say that humans won't have to type every character themselves. I still think a human will be in the loop for many software builds / changes to help direct / guide the machines.
As an example Claude built 90% of the code here but it failed to make certain kinds of tweaks / integrate it into my existing project. So I still had to go in and see what it was doing so I could clean up the code and make it work with my infra. I think there's going to be a lot more of that in the future.
Future work:
- Fix Snake ai to be more snake-like - needs to commit to its direction
Next
If you liked this post you might also like:
Want more like this?
The best way to support my work is to like / comment / share for the algorithm and subscribe for future updates.