Thursday, August 14, 2025
Closing braces, one by one
The first thing I did in the garage was turn Claude on. I thought about this Star Finder game that was bugged. I looked through both versions, the bugged one and the one that was not, and Claude could not find the problem. It kept finding closing braces that needed to be closed or removed, and each time I did that the game would totally bug out.
So I went in myself. I looked at the update function in the working version to see where it closed, and in the broken version it seemed to close prematurely. I went line by line, function by function, curly brace by curly brace, to see where each one opens and closes. I got through about 1,000 lines of embedded functions.
Playing with Lance
Around 5:40 p.m. I began playing the Star Finder game, looking for bugs. At some point around 6:15 p.m. Lance came into the garage and said, “Daddy, I want you to video record me finishing my level.” I was playing Star Finder at that time, so we played together and he watched me. I asked, “Have you seen me get to the end boss?” He said, “Yeah.” I said, “Let’s do it again.” It was fun to play that game together.
Bosses and new enemy graphics
For the next hour I worked on the game logic for the level 2 to level 5 bosses. I had some success, but there were still a few mechanics to sort out, such as the boss movement, the boss firing style and how to go from level complete to the next level.
My prompts that day said the bosses for levels 2 to 5 were not showing their ascii character, and that I did not want them to look like the helicopter. I also asked Claude for a sprite sheet for the next generation of enemy fighters. I now had 7 or 8 enemy fighters, not just the original 5.
Once ChatGPT made the extra aircraft graphics, I cropped them in Photoshop into 32 by 32 pixel boxes, exported a PNG, and asked Claude to code those new graphics into the game for the three new enemy aircraft types.
From the project files
These files come from the Sky Finder project folder and were saved on this day.
Game Rules Log: August 14, 2025
- Missing closing brace found by hand in the update function
- Boss movement and firing logic started for levels 2 to 5
- Three new enemy aircraft with graphics, cropped to 32 by 32 pixels
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.
