uchicago.src.sim.games
Class AlwaysCooperate
java.lang.Object
|
+--uchicago.src.sim.games.AlwaysCooperate
- All Implemented Interfaces:
- Strategy
- public class AlwaysCooperate
- extends Object
- implements Strategy
getInstance
public static AlwaysCooperate getInstance()
calculateMove
public GameChoice calculateMove(GameChoice opponentMove)
- Description copied from interface:
Strategy
- Returns a new GameChoice.
- Specified by:
calculateMove in interface Strategy
toString
public String toString()
- Overrides:
toString in class Object
Bug reports and feature requests to RePast