search

package
v0.0.0-...-786fda4 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package search implements move search.

Index

Constants

This section is empty.

Variables

View Source
var ErrNoLegalMoves = errors.New("no legal moves")

ErrNoLegalMoves is returned by Search when there are no legal moves in a position.

Functions

func Search(ctx context.Context, p core.Position, best chan<- core.Move) error

Search searches for the best move in a position.

Types

This section is empty.

Jump to

Keyboard shortcuts

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