engine

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package engine implements helper functions to easily manage UCI engines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(e *uci.Engine)

Close gracefully shuts down an engine.

func NameLength

func NameLength(exec1, exec2 string) int

NameLength returns the length of the longest od two base names.

func Search(e *uci.Engine, p *chess.Position, moveTime time.Duration) (*chess.Move, error)

Search runs a single search.

func Start

func Start(exec string, len int, color chess.Color, options map[string]string) (*uci.Engine, error)

Start starts a UCI engine and sets it up to run searches.

Types

This section is empty.

Jump to

Keyboard shortcuts

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