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
model.hpp File Reference

The class containing the interface to the data model for the whole game (Game of Ur). More...

#include <cstdint>
#include <array>
#include <memory>
#include "phase.hpp"
#include "board.hpp"
#include "player.hpp"
#include "dice.hpp"

Go to the source code of this file.

Classes

struct  HouseData
 Data returned by GameOfUrModel when queried about the state of a House. More...
 
struct  GamePieceData
 Data returned by GameOfUrModel when queried about the state of a single game piece. More...
 
struct  GamePhaseData
 Data returned by GameOfUrModel when queried about the current phase of the game. More...
 
struct  GameScoreData
 Data returned by GameOfUrModel when queried for scores. More...
 
struct  DiceData
 Data returned by GameOfUrModel when queried for dice related information. More...
 
struct  PlayerData
 Data returned by GameOfUrModel when queried about a player. More...
 
struct  MoveResultData
 Data returned by the GameOfUrModel when making a move, or querying possible moves. More...
 
class  GameOfUrModel
 The data model representing one instance of Game of Ur. More...
 

Enumerations

enum  PlayerID : uint8_t { PLAYER_A =0 , PLAYER_B }
 The two players playing the game, as known to GameOfUrModel.
 

Detailed Description

The class containing the interface to the data model for the whole game (Game of Ur).

Author
Zoheb Shujauddin (zoheb.nosp@m.2424.nosp@m.@gmai.nosp@m.l.co.nosp@m.m)
Version
0.3.2
Date
2025-09-12