ColorShapeLinks AI
An AI competition for the IEEE Conference on Games 2021
ColorShapeLinks.Common Namespace Reference

The common code between all ColorShapeLinks implementations. More...

Namespaces

 
 

Classes

class  Board
 Represents the game board. More...
 
struct  Move
 Represents a move already performed. More...
 
class  PColorExtensions
 Extension methods for the PColor enum. More...
 
struct  Piece
 Represents a board piece. More...
 
struct  Pos
 Represents a board position. More...
 
class  WinnerExtensions
 Extension methods for the Winner enum. More...
 

Enumerations

enum class  PColor { White , Red }
 Piece colors. More...
 
enum class  PShape { Round , Square }
 Piece shapes. More...
 
enum class  Winner { None , Draw , White , Red }
 Winner or result of match. More...
 

Detailed Description

The common code between all ColorShapeLinks implementations.

In particular, types in this namespace constitute the fundamental parts of ColorShapeLinks games, for example the Board and its Piece's.

Enumeration Type Documentation

◆ PColor

enum PColor
strong

Piece colors.

Enumerator
White 

White piece.

Red 

Red piece.

◆ PShape

enum PShape
strong

Piece shapes.

Enumerator
Round 

Round piece.

Square 

Square piece.

◆ Winner

enum Winner
strong

Winner or result of match.

Enumerator
None 

No result yet.

Draw 

Draw.

White 

White wins.

Red 

Red wins.