Code developed during the Galway GameJam #3 (October 2013)