| | |
Summary: CS 6100 Program 2 Game Theory Tournament (40 points) Due February 4, 2010
The Big Picture
We want to have a tournament of all types of agents playing against each other to see which is the best.
Consider one interaction as follows: Two agents (having the same or different strategies) will play each
other TRIALSIZE times in one interaction. They need to repeat their play with each other, as some
strategies make are ineffective if they just play each other one.
We define the interaction as follows:
OneInteraction
T1 = pickStrategy() // Select the strategy for agent 1
T2 = pickStrategy() // Select the strategy for agent 2
Play the two agents against each other TRIALSIZE times.
T1AveScore = totalPointsEarnedT1/ TRIALSIZE
T2AveScpre = totalPointsEarnedT2/ TRIALSIZE
Record average scores as follows
summary[T1].interactionCt++
summary [T1].score+=T1AveScore
|