#include <old_board.h>
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_Board * | board_ |
| uint | playoutLength_ |
| uint | maxPlayoutLength_ |
| uint | evalAfterLength_ |
| void OB_SimplePlayout::doPlayout | ( | ) |
| void OB_SimplePlayout::playOne | ( | ) | [protected] |
Performs one move of one player.
Implements random step play to get the move.
1.5.7.1