Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
game_board.hpp File Reference

Definition of gameboard::GameBoard class. More...

#include <gameboard/board_data_structs.hpp>
#include <functional>
#include <gameboard/move_calculator.hpp>
#include <moveselection/move_evaluators.hpp>
#include <vector>
Include dependency graph for game_board.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gameboard::GameBoard
 Implements SpaceInfoProvider interface; stores piece positions, and exposes methods for calculating, executing, an un-doing moves. More...
 

Namespaces

namespace  gameboard
 Tracking piece positions and determining legal moves.
 

Variables

const BoardMapInt_t gameboard::kStandardInitialBoard
 Starting board represented as 2-D array of integers.
 
const int gameboard::kRepeatPeriodsToCheck [3] = {2, 3, 4}
 Max allowed repetitions of prohibited move sequence lengths.
 
const int gameboard::kRepeatPeriodsMaxAllowed = 2
 Repeated move sequence lengths forbidden under move repetition rules.
 
const int gameboard::kMaxMovesWithoutCapture = 120
 

Detailed Description

Definition of gameboard::GameBoard class.

Definition in file game_board.hpp.