project rewritten to use LibGDX