Tile
enum Tile: String, QueryItemRepresentable, TileProtocol
This enum represents the different states that each indivudal tile within a battleground can have.
-
The x case refers to when the X player has claimed this tile
Declaration
Swift
case x
-
The p case refers to when the O player has claimed this tile
Declaration
Swift
case o
-
The empty case refers to when neither player has claimed this tile
Declaration
Swift
case empty
-
The empty case refers to when neither player has claimed this tile
Declaration
Swift
static var queryItemKey: String