Test 2d java game