CMSC 477/677: Game Project

For this assignment, you are to implement an agent that plays any 2x2 normal-form game. The needed implementation details are outlined in the game.py script. You should try to make it so your agent maximizes its own score.

To turn in your work, you will submit your agent class to the instructor. The instructor will paste your class into the game.py script along with the other students' and run a tournament.

In addition, you should write a short (less than half page) description of what your agent does and a quick explanation of the intuition behind this strategy.

game.py
three example game specifications

CMSC677 Only (Extra credit for CMSC477): Your agent should be adaptive or be able to learn in some way. Either the agent has to learn how to play games offline (before the games tournament) or on the fly (adapting against the particular agent it is playing against). Some games will iterate up to 10,000 times, so there is plenty of time to try to figure out what the opponent is doing.