My recent language of choice for my hobby projects, whether it be figuring out the optimum strategy for Blackjack or teaching myself how to read sheet music. While most are not in a web-friendly form (being made solely for my own amusement), here are a handful that are:
Recursionless Hanoi: A Sonnet in Java
After seeing a recursive program that gave the solution the Tower of Hanoi math puzzle, I took it upon myself to attain the same result non-recursively. My professor's jaw dropped when I showed him my 14-line ''sonnet'' program. He said that he had never heard seen it solved non-recursively in less than three pages of code. (That this English major's first exposure to Java had been only two months prior may have also added to his amazement.)
Dissatisfied with typical color palettes of graphics programs which have either too much black or too much white, I made my own. While the original goal was to fit as many distinct colors as possible in a small area, it ended up being a work of art by its own merit.
Based on the renaissance piece 'Grimstock' from John Playford's The English Dancing Master
, the music recorded here was produced using Java. I wrote the simple program to guage my progress as I taught myself how to read sheet music--figuring that I passed the test when it actually sounded like Grimstock. (More details at Wikimedia
Multi Pay Table HTML Generator for Keno and Lotto Games