java platformer, originally based on youtu.be/9dzhgsVaiSo