class LxChess::MoveTree
- LxChess::MoveTree
- Reference
- Object
Defined in:
lx_chess/move_tree.crConstructors
Instance Method Summary
- #<<(other : Branch)
- #best_branches : Array({Int16, Int16, LxChess::MoveTree})
- #branches : Array({Int16, Int16, LxChess::MoveTree})
- #branches=(branches : Array(Tuple(Int16, Int16, LxChess::MoveTree)))
- #parent : MoveTree | Nil
- #parent=(parent : MoveTree | Nil)
- #score : Int32
- #score=(score : Int32)
-
#to_s(io = STDOUT, depth = 0)
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #turn : Int8
Constructor Detail
Instance Method Detail
Description copied from class Object
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
.