My Project
Public Attributes | List of all members
Play Struct Reference

#include <play.h>

Public Attributes

Board board [1]
 
Board initial_board [1]
 
Search search [1]
 
Result result [1]
 
Bookbook
 
int type
 
int player
 
int initial_player
 
Move game [80]
 
int i_game
 
int n_game
 
volatile PlayState state
 
int level
 
long long clock
 
struct {
   long long   spent
 
   long long   left
 
   long long   extra
 
time [2]
 
struct {
   Board   real [80]
 
   Board   unique [80]
 
   Move   move [80]
 
   int   n_move
 
   int   i_move
 
force
 
struct {
   Thread   thread
 
   Lock   lock
 
   Board   board [1]
 
   bool   launched
 
   bool   verbose
 
ponder [1]
 
char error_message [PLAY_MESSAGE_MAX_LENGTH]
 

Detailed Description

play structure

Member Data Documentation

◆ board

Board Play::board[1]

current board.

pondered position

◆ book

Book* Play::book

opening book

◆ clock

long long Play::clock

internal clock

◆ error_message

char Play::error_message[PLAY_MESSAGE_MAX_LENGTH]

error message

◆ extra

long long Play::extra

extra time left

◆ 

struct { ... } Play::force

forced line

◆ game

Move Play::game[80]

game (move sequence).

◆ i_game

int Play::i_game

current move index.

◆ i_move

int Play::i_move

current forced move

◆ initial_board

Board Play::initial_board[1]

initial board.

◆ initial_player

int Play::initial_player

initial player's color.

◆ launched

bool Play::launched

launched thread

◆ left

long long Play::left

time left

◆ level

int Play::level

search level

◆ lock

Lock Play::lock

lock.

◆ move

Move Play::move[80]

forced move sequence

◆ n_game

int Play::n_game

last move index.

◆ n_move

int Play::n_move

number of forced move

◆ player

int Play::player

current player's color.

◆ 

struct { ... } Play::ponder[1]

pondering thread

◆ real

Board Play::real[80]

forced positions

◆ result

Result Play::result[1]

search result.

◆ search

Search Play::search[1]

search.

◆ spent

long long Play::spent

time spent

◆ state

volatile PlayState Play::state

current state

◆ thread

Thread Play::thread

thread.

◆ 

struct { ... } Play::time[2]

time of each player

◆ type

int Play::type

ui type

◆ unique

Board Play::unique[80]

unique symetry of the forced positions

◆ verbose

bool Play::verbose

verbose pondering


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