Models - Varunalingam/Khet GitHub Wiki

Models

Positions

This class stores 2 integers x and y which is a point in the integral cartesian plane of the size of the game board.

Enums

Type

This enum tells about the type of piece
there are 6 possible values

PHARAOH
SCARAB
PYRAMID
OBELISK
ANUBIS
SPHINX

Player

This enum tells about the Player
there are 2 possible values

Player1 -(1)
Player2 -(2)

Direction

This enum tells about the 4 direction with respect to the Board's North

North - (0)
East - (1)
South - (2)
West - (3)