The code is on GitHub, but I must warn you, it is not a pretty code.
https://github.com/xefensor/game-of-loop
On the audio, I am not really an audio guy so I left it without it, rather then have a unmutable noise. If I expand it, it will definetly be added.