arena

package
v1.55.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(
	ctx context.Context,
	gameConcurrency int,
	tc TimeControl,
	engineBuilder func(experiment bool) IEngine,
) error

Types

type GameStatistics

type GameStatistics struct {
	// contains filtered or unexported fields
}

type IEngine

type IEngine interface {
	Clear()
	Search(ctx context.Context, searchParams common.SearchParams) common.SearchInfo
}

type TimeControl

type TimeControl struct {
	FixedNodes int
	FixedTime  time.Duration
}

Jump to

Keyboard shortcuts

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