Chess Game
1.1.0
A full chess game for Unity
|
Stores information about all possible moves a piece can make on a given index position on the board. More...
Public Member Functions | |
cgMoveSet (List< int > movesp, int fromp, int typesp) | |
Create a move set for a piece type on a specific index location. More... | |
Public Attributes | |
byte | from = 0 |
The index location on the board. More... | |
List< sbyte > | moves |
All possible moves this piece can perform from this location. More... | |
sbyte | type |
The piece type being whoms moves are being generated. More... | |
List< sbyte > | positionalValues = new List<sbyte>() |
These values are based on the positional values stored in ValueModifiers, and these are used by the AlphaBeta Search Algorithm to optimize search time. these values are relative, meaning if I'm at a good spot, and move to mediocre spot, it will be counted as negative positional value. More... | |
Stores information about all possible moves a piece can make on a given index position on the board.
cgMoveSet.cgMoveSet | ( | List< int > | movesp, |
int | fromp, | ||
int | typesp | ||
) |
Create a move set for a piece type on a specific index location.
movesp | All possible moves |
fromp | From this location |
typesp | The piece type |
byte cgMoveSet.from = 0 |
The index location on the board.
List<sbyte> cgMoveSet.moves |
All possible moves this piece can perform from this location.
List<sbyte> cgMoveSet.positionalValues = new List<sbyte>() |
These values are based on the positional values stored in ValueModifiers, and these are used by the AlphaBeta Search Algorithm to optimize search time. these values are relative, meaning if I'm at a good spot, and move to mediocre spot, it will be counted as negative positional value.
sbyte cgMoveSet.type |
The piece type being whoms moves are being generated.