OB_SimplePlayout Class Reference

Simple random playout for old board. More...

#include <old_board.h>

List of all members.

Public Member Functions

 OB_SimplePlayout (OB_Board *, uint maxPlayoutLength, uint evalAfterLength)
 Constructor with board initialization.
void doPlayout ()
 Performs whole playout.
uint getPlayoutLength ()
 Returns playout length in moves.

Protected Member Functions

void playOne ()
 Performs one move of one player.
bool hasWinner ()
 Wrapper around get winner from board.

Protected Attributes

OB_Boardboard_
uint playoutLength_
uint maxPlayoutLength_
uint evalAfterLength_


Detailed Description

Simple random playout for old board.

Member Function Documentation

void OB_SimplePlayout::doPlayout (  ) 

Performs whole playout.

Consists of repetitive calls to playOne().

Returns:
Final playout status.

void OB_SimplePlayout::playOne (  )  [protected]

Performs one move of one player.

Implements random step play to get the move.


The documentation for this class was generated from the following files:

Generated on Thu Aug 6 23:29:08 2009 for akimot by  doxygen 1.5.7.1