Keyboard Boogie

I had this idea for a silly game - I wanted to learn about HTML5 Audio.

I used Tone.js which is a javascript audio synthesizer library. I still don’t really understand much of what I’m doing with the synth library. I mostly copy pasted some music code, and found it interesting that you can vary tempo and beat with code.

It is based on keyboard input, so won’t work on your phone.

I’m also interested in fun game mechanics. As a developer, there is a real pleasant joy to tapping the keyboard. It provides nice tactile feedback - I often wish I had more to say since I enjoy typing so much (this is part of the reason why I use vim.

Additionally, I used phaser.io which is my favorite js game engine because of it’s ease of use and well designed API.

Generating a pleasing random color is slightly more challenging then just picking from the color space. Rather than actually figuring it out, I used this Random Color generator from github.

Finally, I grabbed the dancing sprite from the Fruity Dance Plugin and the Disco Ball from user geno2925 on DeviantArt

Source for the game is on github

Find a problem or mistake? File a bug or better yet, submit a pull request