Othello 1.0

edu.drexel.cs.ai.othello
Class RandomOthelloPlayer

java.lang.Object
  extended by edu.drexel.cs.ai.othello.OthelloPlayer
      extended by edu.drexel.cs.ai.othello.RandomOthelloPlayer

public class RandomOthelloPlayer
extends OthelloPlayer

An othello-playing agent that plays at random.

Author:
Evan A. Sultanik

Constructor Summary
RandomOthelloPlayer(java.lang.String name)
          Creates a new othello-playing agent that plays at random.
 
Method Summary
 Square getMove(GameState currentState, java.util.Date deadline)
          Returns a random, valid move from currentState.
 
Methods inherited from class edu.drexel.cs.ai.othello.OthelloPlayer
getMillisUntilDeadline, getName, log, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RandomOthelloPlayer

public RandomOthelloPlayer(java.lang.String name)
Creates a new othello-playing agent that plays at random.

Method Detail

getMove

public Square getMove(GameState currentState,
                      java.util.Date deadline)
Returns a random, valid move from currentState.

Specified by:
getMove in class OthelloPlayer

Othello 1.0

Copyright 2006–2007 Evan A. Sultanik