my attempt at making a javascript game under 13kb total size (for js13 contest)