Hitori
Source: Dev.to
Background
I wrote an implementation of the game Hitori using Claude Code in agent mode. After discovering a Linux version of Hitori and studying its architecture, I decided to create my own version.
Implementation Details
- Architecture: Django serves as the backend while the frontend is built with JavaScript.
- Process: I pointed Claude Code to the original C implementation of Hitori and asked it to develop a client‑server version that could be played in a web browser using a Python backend and JavaScript frontend.
- Agent Mode: I enabled agent mode, granted the necessary permissions, and responded affirmatively to its prompts. After initiating the request and going to sleep, the complete game was generated automatically.
- Enhancements: Later I added a login system and improved the game board.
- Deployment: The application was deployed on a Kubernetes cluster with minimal effort.
Results
This is the first game I have developed without opening an editor or IDE; everything was done entirely from the command prompt. The experience was surprisingly smooth and required almost no manual coding.
Play the Game
You can enjoy playing the game at: