CITRADOX

CHECK YOUR FONTS

13 August 2026

I was coding the main logic for the game, and I was testing it with a hand of 10-J-Q-K. For some reason, the console was correctly reporting that the hand scored four points, but the game was showing five. I double-checked the code, and everything looked right. After many days of debugging, I gave up on the project put it aside.

After playing the game on the browser with a friend, I got motivated to pick the project back up. My code still (sadly) did not work, but this time I thought, 'there's no way it's my code that's counting these cards wrong,' so after some brainstorming, I thought, 'Wait let me check the fonts.' One big sigh of relief later, that was it. The fonts, not my logic, had been the problem the whole time.

← Devlog