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
GameScoreData Struct Reference

Data returned by GameOfUrModel when queried for scores. More...

#include <model.hpp>

Public Attributes

uint8_t mCommonPoolCounters
 The number of counters available to be won by the player claiming victory.
 
uint8_t mPlayerOneCounters
 The number of counters held by player A.
 
uint8_t mPlayerTwoCounters
 The number of counters currently held by player B.
 
uint8_t mPlayerOneVictoryPieces
 The number of Player A's pieces that have reached the end of the route.
 
uint8_t mPlayerTwoVictoryPieces
 The number of Player B's pieces that have reached the end of the route.
 

Detailed Description

Data returned by GameOfUrModel when queried for scores.

Member Data Documentation

◆ mPlayerOneCounters

uint8_t GameScoreData::mPlayerOneCounters

The number of counters held by player A.

Todo
Make naming of Player A and B consistent.

◆ mPlayerTwoCounters

uint8_t GameScoreData::mPlayerTwoCounters

The number of counters currently held by player B.

Todo
Make naming of Player A and B consistent.

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