C++ Joueur Client
 All Classes Namespaces Functions Variables
cpp_client::chess::Game Class Reference

The traditional 8x8 chess board with pieces. More...

#include <game.hpp>

Inheritance diagram for cpp_client::chess::Game:

Public Attributes

const std::string & fen
 Forsyth-Edwards Notation (fen), a notation that describes the game board state. More...
 
const std::unordered_map
< std::string, Game_object > & 
game_objects
 A mapping of every game object's ID to the actual game object. Primarily used by the server and client to easily refer to the game objects via ID. More...
 
const std::vector< std::string > & history
 The list of [known] moves that have occurred in the game, in Universal Chess Interface (UCI) format. The first element is the first move, with the last element being the most recent. More...
 
const std::vector< Player > & players
 List of all the players in the game. More...
 
const std::string & session
 A unique identifier for the game instance that is being played. More...
 

Detailed Description

The traditional 8x8 chess board with pieces.

Member Data Documentation

const std::string& cpp_client::chess::Game::fen

Forsyth-Edwards Notation (fen), a notation that describes the game board state.

const std::unordered_map<std::string, Game_object>& cpp_client::chess::Game::game_objects

A mapping of every game object's ID to the actual game object. Primarily used by the server and client to easily refer to the game objects via ID.

const std::vector<std::string>& cpp_client::chess::Game::history

The list of [known] moves that have occurred in the game, in Universal Chess Interface (UCI) format. The first element is the first move, with the last element being the most recent.

const std::vector<Player>& cpp_client::chess::Game::players

List of all the players in the game.

const std::string& cpp_client::chess::Game::session

A unique identifier for the game instance that is being played.


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