Today’s exercise was Roman Numerals basically convert a number between 1-3,999 to Roman Numerals. I knew everyone else’s solution would be better than mine, but wow, I didn’t expect them to be that much better. I don’t want to basically replace mine with one of theirs so I am going to leave it as-is. Mine has a function that handles thousands which calls a function that handles hundreds which calls a function that handles zero to fifty which calls a function that handles zero to ten. Someone else just found the first number (sorted high to low) that was less than or equal to the given value in a lookup table and returned the lookup value plus the recursive call for the remainder. Makes mine look terrible. Terrible maybe, but it still works.

Just fifteen left, I just want to finish the track now. I don’t care if I have elegant solutions, I just want to finish.

On the Gameboy side of things I think I am done with the DVD logo bouncing program. It now has the music on channel 2, and a sound effect on channel 1. The channel 1 full demo from chapter 9 was super helpful in figuring out what values to give to the sound registers. I also got a sort of bounce randomization. It doesn’t work very well you can go from 0 to 16 or 16 to 0 rather easy if you get too close to either extreme for the step X, Y values. I may just take it back out. However, that finishes the wish list I had the program. Do I still want to make a breakout clone or should I move on to another project?

Here is the video so you can hear the wall collision sound. I also tried it on my old GameBoy color with broken sound and the Chromatic and it worked on both. The color may have been a bit different but that is all.