|
| Board (bool my_turn=true) |
|
std::vector< Square > | LegalMoves () const |
|
Square | RandomMove () const |
|
bool | NextState (const Square &move, GameState *next_state) const |
|
bool | IsTerminal (double *win) const |
|
bool | IsMyTurn () const |
|
bool | operator== (const GameState< Square > &rhs) const |
|
void | Render () const |
|
virtual bool | NextState (const Square &move, GameState *next_state) const =0 |
|
bool | IsMyTurn () const |
|
virtual bool | operator== (const GameState< Square > &rhs) const =0 |
|
|
| GameState (bool my_turn=true) |
|
bool | my_turn_ |
|
static std::random_device | rd_ |
|
static std::default_random_engine | rng_ |
|
Definition at line 56 of file board.h.
dumbo::tic::Board::my_turn |
Initial value:{}
Board(const std::unordered_set<Square, Square::Hasher>& occupied_squares,
bool my_turn = true)
Definition at line 59 of file board.h.
The documentation for this class was generated from the following files:
- /home/travis/build/dfridovi/dumbo/include/dumbo/tic_tac_toe/board.h
- /home/travis/build/dfridovi/dumbo/src/tic_tac_toe/board.cpp