Today’s exercise was crypto square. It is a cipher where you remove anything non-alphanumeric, lower case it, then break a message up into chunks that when piled on top of each other form the best square you can manage. When piled up you put it back together reading top to bottom right to left instead of the normal right to left, top to bottom. For being marked hard it wasn’t so bad, in fact the resulting code is rather short.

I finally decided to revisit the DVD logo program. In the old one it basically could only bounce at 45 degree angles (plus 0, 90, 180, or 270 degrees). This time I wanted something more Bresenham-ish so I could have far more angles. I also give it a bit of a random nudge every time it hits a wall.

You don’t have to take my word for it, compare the below with the old one back on day 28 of 100 Days of Code 2026. This one is in pygame-ce. Hopefully tomorrow I will try to update the gameboy version to match. Hopefully you can see how this might make a far more interesting ball in a breakout clone.