LxChess::Computer
Inherits LxChess::Player < Reference < Object
Instance methods
ai?
Sourcebest_moves(game : Game, turn : Int8 | Nil = nil, depth = 0, root_tree : MoveTree | Nil = nil)
Generate an array of moves (from => to) which result in an even or best score TODO: promotion, pruning
board_score(game : Game, turn : Int8 | Nil = nil)
Evaluate the score of a given board TODO: more positional analysis
get_move(game : Game, turn : Int8 | Nil = nil)
Sourcemove_sets(game : Game, turn : Int8 | Nil = nil)
Source