finished java game