Show / Hide Table of Contents

Class ExtendedMove

Represents a move with additional information attached to it

Inheritance
System.Object
Move
ExtendedMove
Inherited Members
Move.W0_0
Move.W0_0_0
Move.B0_0
Move.B0_0_0
Move.NULL
Move.From
Move.To
Move.PromoteTo
Move.Equals(Object)
Move.GetHashCode()
Move.ToUCIString()
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 Source

ExtendedMove(Move)

Creates an extended move from a simple move

Declaration
public ExtendedMove(Move move)
Parameters
Type Name Description
Move move
| Improve this Doc View Source

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

| Improve this Doc View Source

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 Source

Clock

The time the chess clock shows after the move

Declaration
public TimeSpan Clock { get; set; }
Property Value
Type Description
System.TimeSpan
| Improve this Doc View Source

Comment

Comment attached to move

Declaration
public string Comment { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Depth

Engine search depth

Declaration
public int Depth { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Evaluation

Engine evaluation in centipawns

Declaration
public int Evaluation { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

IsBookMove

Move was taken from an opening book

Declaration
public bool IsBookMove { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsTablebaseMove

Move was taken from tablebase

Declaration
public bool IsTablebaseMove { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SideToMove

The Side which played the move

Declaration
public Side SideToMove { get; set; }
Property Value
Type Description
Side
| Improve this Doc View Source

UsedThinkTime

Think time the player used for making this move

Declaration
public TimeSpan UsedThinkTime { get; set; }
Property Value
Type Description
System.TimeSpan
| Improve this Doc View Source

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 Source

ParseComment()

Declaration
public void ParseComment()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX