endgame

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2023 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Solver

type Solver interface {
	Init(movegen movegen.MoveGenerator, game *game.Game)
	Solve(ctx context.Context, plies int) (float32, *move.Move)
}

Solver is an interface for an endgame solver. The scores don't matter, the solver maximizes spread.

Directories

Path Synopsis
Package alphabeta implements an endgame solver using depth-limited minimax with alpha-beta pruning.
Package alphabeta implements an endgame solver using depth-limited minimax with alpha-beta pruning.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL