Friday, August 29, 2025
Typing a name
At 9:00 a.m. I came home, powered on the computer and worked on the leaderboard module. I resolved all the bugs. Now, when you have a high score, you can type in your name and it adds your achievement to the leaderboard. The score shows the number of kills, streaks and levels completed. I maxed out on Claude just as I was debugging the gamification system.
Gamification breaks things
At 2:00 p.m. I thought, “I am no longer maxed out on Claude. Let’s do one iteration of game development,” and that led to a few because I kept running into mistakes. I had developed a leaderboard with gamification included, but when I made some updates to the leaderboard separately, the code removed the gamification part.
I spent most of the day trying to get gamification working again by showing Claude the code and asking it to integrate it. It just broke the game a few times. I probably got close, but I gave up and decided to come back to it.
A better way to ask
That night I fixed some leaderboard issues using Claude 4.1 rather than Claude 4.0. The 4.0 version does not follow coding instructions very well, but 4.1 sticks to the project knowledge and applies better logic. This time it showed me four code blocks it had to change and asked me to find them and copy them as they are in my code. Then it used my code to make the changes and gave me inline code that I could paste straight back, with contextual instructions.
Game Rules Log: August 29, 2025
- Leaderboard takes typed names and shows kills, streaks and levels completed
- Gamification code removed after separate leaderboard updates, left for later
- Better workflow found: Claude 4.1 shows the blocks to change and returns inline code
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.
