import logging


def run_simulation(simulation):
    """
    Fires of the simulation of a single game. Useful for the multiprocessing
    map call.

    Args:
        simulation (Simulation): Instance of a single game simulation

    Returns:
        (Simulation) Completed simulation

    """
    logging.info(f"Starting simulation {simulation.game.game_id}")
    simulation.run()
    return simulation