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

Contains definitions for pieces belonging to different sets used by competing players. More...

#include <string>
#include <glm/glm.hpp>
#include "role_id.hpp"
#include "piece_type_id.hpp"

Go to the source code of this file.

Classes

struct  PieceIdentity
 Data uniquely identifying a piece used in the game. More...
 
class  Piece
 The state of a single piece of the game. More...
 

Functions

bool operator< (const PieceIdentity &one, const PieceIdentity &two)
 
bool operator== (const PieceIdentity &one, const PieceIdentity &two)
 
bool operator!= (const PieceIdentity &one, const PieceIdentity &two)
 

Detailed Description

Contains definitions for pieces belonging to different sets used by competing players.

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