qtable

package
v0.0.0-...-8d89a9b Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PlayForever

func PlayForever(store *storage.Storage, id int)

Types

type Agent

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

func New

func New(store *storage.Storage) *Agent

func (*Agent) Board

func (a *Agent) Board() *oware.Board

func (*Agent) DistributeAwards

func (a *Agent) DistributeAwards()

func (*Agent) ExploreCurrentMoves

func (a *Agent) ExploreCurrentMoves(moves []int, sroot string) map[string]int

func (*Agent) MovePlayed

func (a *Agent) MovePlayed(move string) bool

func (*Agent) Play

func (a *Agent) Play()

func (*Agent) RecordMove

func (a *Agent) RecordMove(move string)

func (*Agent) SetBoard

func (a *Agent) SetBoard(board *oware.Board)

Jump to

Keyboard shortcuts

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