Code for my entry in the 28th ludum dare.