This change wraps the final line of prisonersDilemma.py in a if __name__ == '__main__': statement, to prevent unexpected bugs when trying to e.g. use multiprocessing.Pool inside a strategy. This also helps to mitigate unexpected loops when running the program within certain environments/picklers.
This change wraps the final line of
prisonersDilemma.py
in aif __name__ == '__main__':
statement, to prevent unexpected bugs when trying to e.g. usemultiprocessing.Pool
inside a strategy. This also helps to mitigate unexpected loops when running the program within certain environments/picklers.