Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
GamePhaseData Struct Reference

Data returned by GameOfUrModel when queried about the current phase of the game. More...

#include <model.hpp>

Public Attributes

GamePhase mGamePhase
 The current high level phase of the game.
 
RoundPhase mRoundPhase
 The part of the round the game is currently in.
 
TurnPhase mTurnPhase
 The part of the turn the game is currently in.
 
PlayerID mTurn
 The player whose turn it is, presently.
 
RoleID mWinner
 The role, black or white, of the winner of the game (when the game has ended).
 

Detailed Description

Data returned by GameOfUrModel when queried about the current phase of the game.

Member Data Documentation

◆ mRoundPhase

RoundPhase GamePhaseData::mRoundPhase

The part of the round the game is currently in.

The end of every second turn is considered the end of a round.


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