Class ExtendedMove
Represents a move with additional information attached to it
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: PonzianiComponents.Chesslib
Assembly: PonzianiComponents.dll
Syntax
public class ExtendedMove : Move
Constructors
| Improve this Doc View SourceExtendedMove(Move)
Creates an extended move from a simple move
Declaration
public ExtendedMove(Move move)
Parameters
Type | Name | Description |
---|---|---|
Move | move |
ExtendedMove(Int32, Int32, PieceType)
Creates a Move
Declaration
public ExtendedMove(int from, int to, PieceType promoteTo = PieceType.NONE)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | from | Index of from square (0..63) |
System.Int32 | to | Index of to square (0..63) |
PieceType | promoteTo | Promotion piece type |
ExtendedMove(String)
Creates a Move from it's notation as used in UCI protocol
Declaration
public ExtendedMove(string uciString)
Parameters
Type | Name | Description |
---|---|---|
System.String | uciString | Move in UCI notation |
Properties
| Improve this Doc View SourceClock
The time the chess clock shows after the move
Declaration
public TimeSpan Clock { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Comment
Comment attached to move
Declaration
public string Comment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Depth
Engine search depth
Declaration
public int Depth { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Evaluation
Engine evaluation in centipawns
Declaration
public int Evaluation { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsBookMove
Move was taken from an opening book
Declaration
public bool IsBookMove { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsTablebaseMove
Move was taken from tablebase
Declaration
public bool IsTablebaseMove { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SideToMove
The Side which played the move
Declaration
public Side SideToMove { get; set; }
Property Value
Type | Description |
---|---|
Side |
UsedThinkTime
Think time the player used for making this move
Declaration
public TimeSpan UsedThinkTime { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Variations
Variations
Declaration
public List<List<ExtendedMove>> Variations { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Collections.Generic.List<ExtendedMove>> |
Methods
| Improve this Doc View SourceParseComment()
Declaration
public void ParseComment()