My old HTML5 uni assignment, ported to an easy working engine