Saturday, August 16, 2025
Another curly bracket
When I got the laptop out, I opened Claude and got my Star Finder game working. The game was running well, but it had a bug, so once again I had to troubleshoot with my own IT skills. There was an extra curly bracket somewhere. I went through every function, clicked the opening bracket and found where it closed. At the bottom it was the update function, which redraws the whole level, and a closing bracket was missing.
I gave the task to Claude, but it kept coming up with different errors in different places. I found the issue myself and plugged it up. Then there were two more bugs. One was that going from level one to level two built no walls, so I flew through empty space.
The wall hover enemy
From 8:40 p.m. I continued to develop the Wall Hover enemy aircraft. The enemies were too simple, so I created an eighth enemy type that detects where a hole is in the wall, hovers to that gap and stays there, firing two bullets every five seconds at random times within those five seconds. ChatGPT made a sprite sheet for it and Claude helped me write the code to load it.
The game kept looping and had bugs. I changed the line listing the enemies allowed to spawn on level one so that only the wall hover enemy would spawn, and then ran into an endless loop that crashed the game.
Losing patience
By 10 p.m. Claude was hallucinating too often, and it started to make me angry. It was writing code that was not connected to the original game code, so I began to paste the code for a function into the prompt window and had it modify it there. At some point the code went berserk. The game treated a wall sprite as an enemy, and the game defined enemy objects in a global variable. I spent half an hour fixing it, and had to tell Claude in big capital letters to read the code first.
The shop and the shuffle
From 1:00 a.m. I began to build an in game shop between levels. The game complete screen pops up, you press space to enter the shop, and you buy upgrades with the star currency. You exit the shop by pressing a button, and it takes you to the next level with those upgrades active.
At 2:40 a.m. Claude was available again, and I asked for a super power shuffle. I wanted to switch between super powers, so that if I had 20 stars I would not be forced to use the 20 star super power and could shuffle back to the 5 star one.
From my progress screenshots

These come from my progress screenshots folder and were taken in August 2025.
Game Rules Log: August 16, 2025
- New Wall Hover enemy: finds the gap in a wall, hovers there and fires two bullets within five seconds
- Shop between levels, paid for with stars
- Super power shuffle asked for, so a lower star power can be chosen
Read what happens next in the dev diary: the next entry.

Diary Of A Mad Chaos is a daily diary written from March 1996 until today, of which individual books and book series have been created, namely “The Lost Years” an exploration of young, entwined love, the “Wubao In China (猎艳奇缘)” book series which provides an extensive comparative analysis of the cultural differences between Eastern and Western societies, and the book titled “Foreigner (华人)” an exploration of race relations in Australia.
