Here's the code on github if your interested
Ludum Dare 34
I didn't get anything finished because of reasons, but I did manage to make a really cool playground with Allegro.js, and wanted to share.
It's really easy to add HTML controls with jQuery-ui that can play with your game variables. You can also change them from the console, but the UI elements are easier.