Code for submission to Ludum Dare 31: Entire Game On One Screen