class

LxChess::MoveTree

Inherits Reference < Object

Constructors

new(score : Int32, turn : Int8)
Source

Instance methods

<<(other : Branch)
Source
best_branches
Source
branches
Source
branches=(branches : Array(Tuple(Int16, Int16, LxChess::MoveTree)))
Source
parent
Source
parent=(parent : MoveTree | Nil)
Source
score
Source
score=(score : Int32)
Source
to_s(io = STDOUT, depth = 0)

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
turn
Source

Nested types