Hitori

I wrote an implementation of the game Hitori using Claude Code in agent mode.

It is a puzzle that I developed after looking at a game called Hitori in Linux. I was studying the architecture of it and noted down how that game was written.

I thought that I should make an implementation of it.

I tried to make a Django implementation where Django serves as the backend and the frontend is in JavaScript. I set up the foundation for it and then pointed Claude Code to the original implementation of Hitori, which is written in C in Linux. I asked it to develop a similar one for a client-server architecture that I could play in a web browser using a Python backend and JavaScript frontend.

I enabled it in agent mode and gave it to dangerously skip permissions. I asked it to implement the game and gave some Yes's for the prompts it asked, then went about with it. I had asked it to make a game and then went to sleep.

When I woke up the next morning, I saw that the complete game was implemented. To my surprise, I didn't have to do anything. The whole game was there and I just played it. I was like, "Oh my goodness." I was amazed for a full day at what had just happened.

But then, to take it further, I thought there should be a login system and game board improvements. That took some time, and then I deployed it on a Kubernetes cluster. Even that was easy - I didn't have to do anything.

This is the first game I developed where I didn't have to open an editor or IDE at all. I did everything completely from the command prompt. This was something new. I thought I should capture this moment, so I'm writing about it in my blog. That's pretty much it.

You can enjoy playing this game at https://hitori.learntosolveit.com