Monday, September 1, 2025
Corrupted code
From 7:40 p.m. I went back to working on the Star Finder game. The latest version had corrupted ANSI code, so I went back through earlier versions to find one with the leaderboard and no corrupted characters. Version 61 had no corrupted text, but I figured I could work with the latest version 63 and ask Claude to rewrite the corrupted code.
That is what I set out to do. I would refresh the game screen, copy and paste some of the corrupt code into Claude, and it would rewrite it with the correct characters. I had to do this a few times, because sometimes the change broke game elements and I had to undo it back to the working version, then redo it in a more focused way. In the meantime I checked in on Lance, who was playing Geometry Dash.
A painful night with the leaderboard
Tonight I had another painful night trying to get the leaderboard working. The game kept throwing an initialization error. Apparently the DOM was calling a node before the game had a chance to add the HTML for it. I made lots of changes, assuming the issue was in the code, and checked for duplicated CSS styles because I remembered removing inline styles from the markup. That was an issue.
The main problem was an important declaration on a show and hide CSS style for the leaderboard code where you type in your name. I made lots of JavaScript changes, but they did not work because that initialization issue remained.
Game Rules Log: September 1, 2025
- Corrupted characters repaired in version 63
- Leaderboard initialization error traced to a CSS important rule
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.
