org.tiling.game.prisonersdilemma.strategy
Class TitForTwoTats

java.lang.Object
  |
  +--org.tiling.game.Player
        |
        +--org.tiling.game.prisonersdilemma.strategy.TitForTwoTats
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.io.Serializable, Strategy

public class TitForTwoTats
extends Player

See Also:
Serialized Form

Constructor Summary
TitForTwoTats()
           
 
Method Summary
 Move generateMove(java.util.List ownMoveHistory, java.util.List opponentsMoveHistory)
           
 java.lang.String getDescription()
           
 
Methods inherited from class org.tiling.game.Player
addScore, clone, compareTo, getGamesPlayed, getMeanScore, getScore, incrementGamesPlayed, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TitForTwoTats

public TitForTwoTats()
Method Detail

generateMove

public Move generateMove(java.util.List ownMoveHistory,
                         java.util.List opponentsMoveHistory)

getDescription

public java.lang.String getDescription()