dumbo
A fun little game engine.
 All Classes
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
dumbo::core::GameState< M > Class Template Referenceabstract

Public Member Functions

virtual std::vector< M > LegalMoves () const =0
 
virtual M RandomMove () const =0
 
virtual bool NextState (const M &move, GameState *next_state) const =0
 
virtual bool IsTerminal (double *win) const =0
 
bool IsMyTurn () const
 
virtual bool operator== (const GameState< M > &rhs) const =0
 
virtual void Render () const =0
 

Protected Member Functions

 GameState (bool my_turn=true)
 

Protected Attributes

bool my_turn_
 

Static Protected Attributes

static std::random_device rd_
 
static std::default_random_engine rng_
 

Detailed Description

template<typename M>
class dumbo::core::GameState< M >

Definition at line 55 of file game_state.h.


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