uchicago.src.sim.games
Class AlwaysDefect

java.lang.Object
  extended by uchicago.src.sim.games.AlwaysDefect
All Implemented Interfaces:
Strategy

public class AlwaysDefect
extends java.lang.Object
implements Strategy

Version:
$Revision: 1.4 $ $Date: 2004/11/03 19:51:03 $

Method Summary
 GameChoice calculateMove(GameChoice opponentMove)
          Returns a new GameChoice.
static AlwaysDefect getInstance()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static AlwaysDefect getInstance()

calculateMove

public GameChoice calculateMove(GameChoice opponentMove)
Description copied from interface: Strategy
Returns a new GameChoice.

Specified by:
calculateMove in interface Strategy

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object