LxChess::MoveTree
Inherits Reference < Object
Constructors
new(score : Int32, turn : Int8)
SourceInstance methods
<<(other : Branch)
Sourcebest_branches
Sourcebranches
Sourceparent
Sourceparent=(parent : MoveTree | Nil)
Sourcescore
Sourcescore=(score : Int32)
Sourceto_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.
turn
Source