Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
game Namespace Reference

Classes

class  EvaluatorFactoryRetriever
 
class  Game
 
class  GameFactory
 
class  GameRunner
 
struct  GameStatus
 
struct  GameSummary
 
struct  MinimaxTypeInfo
 
struct  MinimaxTypeInfoHash
 
class  PlayerInputTranslator
 
struct  PlayerSpec
 
class  PlayerSpecBuilder
 

Typedefs

using PlayerInputType = std::unordered_map< std::string, std::variant< std::string, size_t, int64_t, DepthType > >
 

Enumerations

enum  GameState : int { kUnfinished = 0 , kDraw = 1 , kRedWon = 2 , kBlkWon = 3 }
 
enum  EvaluatorType : int { kRandom = 0 , kMinimax = 1 , kHuman }
 
enum  ZobristKeyType : int { kNoKey = 0 , k032BitKey = 1 , k064BitKey = 2 , k128BitKey = 3 }
 
enum  ZobristCalculatorCount : int { kNoZCalcs = 0 , kOneZCalc = 1 , kTwoZCalc = 2 }
 

Typedef Documentation

◆ PlayerInputType

using game::PlayerInputType = typedef std::unordered_map< std::string, std::variant<std::string, size_t, int64_t, DepthType> >

Definition at line 15 of file player_spec_builder.hpp.

Enumeration Type Documentation

◆ EvaluatorType

enum game::EvaluatorType : int
Enumerator
kRandom 
kMinimax 
kHuman 

Definition at line 13 of file game_data_structs.hpp.

◆ GameState

enum game::GameState : int
Enumerator
kUnfinished 
kDraw 
kRedWon 
kBlkWon 

Definition at line 11 of file game_data_structs.hpp.

◆ ZobristCalculatorCount

Enumerator
kNoZCalcs 
kOneZCalc 
kTwoZCalc 

Definition at line 16 of file game_data_structs.hpp.

◆ ZobristKeyType

Enumerator
kNoKey 
k032BitKey 
k064BitKey 
k128BitKey 

Definition at line 14 of file game_data_structs.hpp.