On this page:
1 Abstract your strategies
2 Implement two new strategies
3 Simulate complete game with four players
6.0.0.1

Project 9: 10/27

This project is due on 10/27 at midnight.

1 Abstract your strategies

Refactor your code base, if needed, to ensure that you can add new strategies for automated players without needing to change the rest of the code.

2 Implement two new strategies

You are to implement two strategies for a given specification:

Imagine plugging these strategies into a player and running a complete game. Since the strategy is deterministic, the sequence of states is again predictable.

3 Simulate complete game with four players

You should now have four distinct automated players. Run 100 games with these players. Describe the results in terms of which player won how many of the 100 games in a text file game-results.txt.