Axelrod-Python/Axelrod

Change the TFT in the first tournament

Closed this issue · 3 comments

I ran the code for the first tournament in the following way.

import axelrod as axl
first_tournament_participants_ordered_by_reported_rank = [s() for s in axl.axelrod_first_strategies]
tournament=axl.Tournament(players=first_tournament_participants_ordered_by_reported_rank,turns=200,repetitions=5,seed=1, )
results = tournament.play()

if I wanted to run it locally, in this tournament, I had TFT choose defection in the last two rounds. how should I change the code?

Are you asking how to make TFT defect in the last two rounds? You can use one of the strategy transformers to modify the TFT strategy to do so. See the documentation for how to achieve this.

Are you asking how to make TFT defect in the last two rounds? You can use one of the strategy transformers to modify the TFT strategy to do so. See the documentation for how to achieve this.

image
done.thank you