Add game loop to JavaPokemon