Building Battleship
Takeaways
- When vibing with claude code, emphasize quality of life improvements for yourself first! You’ll do many rounds of iteration – the more you can shorten these, the better, so add those debug options and “autopopulate test data” early.
- Claude’s very keen to comment out tests in order to get builds working – I’m going to experiment with adding some guidelines to claude.md to see if this behavior can be changed.
The project
Today’s project is an online multiplayer game (Battleship!) Play it here: https://battleship-ad76.onrender.com Code here: https://github.com/troggy-labs/battleship
The tech stack
We’re using React on the frontend, Node on the backend, hosting on render.com. DALL-E to generate some fun themed Battleship backgrounds.
The result
And this is what it looks like: