Playing with Claude Code to recreate Sensible Soccer!
I’ve been mucking about with Cursor, Loveable, Replit and Claude Code — and it’s oh so fun!
I’m not a coder, but I like to build stuff on the internet. Webflow is my tool of choice. For low-code designer-folk, like me, AI is rather exciting!
So, I’m playing with coding agents. I’ve not clicked with Cursor and Loveable. I’m liking Replit, but need more time with it. It handles development and deployment in one platform.
Today I picked up Claude Code. See the Claude Code overview for how to get started. It’s been a while since I’ve used the Terminal, so regular Claude helped me get set up.
⛹ No big ideas, just playing
I’m not building anything meaningful (yet). For now I’m just playing and seeing how Claude Code works.
My first prompt: “Create a simple football game like Sensible Soccer”
Claude Code made some files and wrote some code, then came back with:
Open the game in your browser by navigating to the index.html file. You’ve now created a simple Sensible Soccer-inspired game with the following features:
- 5v5 football match with player positions
- Control players with arrow keys/WASD
- Kick the ball with spacebar
- Click to select different players
- Score goals and keep track of the score
- Simple AI opponents
To play, just open the index.html file in your web browser. Control the blue team and try to score goals against the red team!
🪄 Oh my, we have a game!
I made three more prompts to improve a few things. Sadly I don’t have them. I closed the Terminal session before realising they wouldn’t be saved.
Improved things like player positioning, playing controls, stadium.
🍟 Cheap as chips
Creating this thing cost me about $2 in API calls. Decent value for an afternoon of fun! I’m sure creating a “proper” game/app/website would cost a fair bit more.
📽️ Videos of the process
Here are some silly videos of me brining the game into existence and generally being a bit amazed by what Claude Code is doing.
🧐 After prompt 1
🤯 After prompt 2
🎉 After prompt 3
🛋️ What next?
No idea! I’m gonna sit here and ruminate for a bit.
Be fun to recreate old games. Like Jet Set Willy, or Space Invaders. I’m sure kids would have fun with this!!