Documentation
¶
Overview ¶
A simple game where a lizard walks around a board and tries to find crickets to eat: https://www.youtube.com/watch?v=qhRNvCVVJaA
Index ¶
- type DeepLizardEvironment
- func (k *DeepLizardEvironment) Evaluate(currentState coach.State, action coach.Action) (coach.State, coach.Reward, bool)
- func (k *DeepLizardEvironment) InitialState() coach.State
- func (k *DeepLizardEvironment) MaxSteps() int
- func (k *DeepLizardEvironment) PossibleActions() []coach.Action
- func (k *DeepLizardEvironment) Score(states []coach.State) coach.Score
- func (k *DeepLizardEvironment) Show(states []coach.State, interactive bool)
- func (k *DeepLizardEvironment) Update()
- type Direction
- type Reward
- type Tile
- type TileType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeepLizardEvironment ¶
type DeepLizardEvironment struct {
// contains filtered or unexported fields
}
func New ¶
func New() *DeepLizardEvironment
func (*DeepLizardEvironment) InitialState ¶
func (k *DeepLizardEvironment) InitialState() coach.State
func (*DeepLizardEvironment) MaxSteps ¶
func (k *DeepLizardEvironment) MaxSteps() int
func (*DeepLizardEvironment) PossibleActions ¶
func (k *DeepLizardEvironment) PossibleActions() []coach.Action
func (*DeepLizardEvironment) Score ¶
func (k *DeepLizardEvironment) Score(states []coach.State) coach.Score
func (*DeepLizardEvironment) Show ¶
func (k *DeepLizardEvironment) Show(states []coach.State, interactive bool)
func (*DeepLizardEvironment) Update ¶
func (k *DeepLizardEvironment) Update()
Click to show internal directories.
Click to hide internal directories.