Scala 2D engine code for Ludum Dare 28