Grail (C#)  1.2.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
Grail.SimulatedGames.SimulatedGameRuntime Class Reference

An interface that is used to terminate simulation in MCTS and set scores to players. Scores are grabbed from here whenever a simulation ends. It is created automatically. More...

Properties

bool TerminationRequest [get, set]
 Set this property to indicate that the game has ended, i.e. the terminal conditions have been met. More...
 
double [] Scores = false [get]
 Array of scores indexed by teams. See in SimulatedGame constructor or property in class. More...
 
uint CurrentStep [get, set]
 You can set the game step here. More...
 

Detailed Description

An interface that is used to terminate simulation in MCTS and set scores to players. Scores are grabbed from here whenever a simulation ends. It is created automatically.

Property Documentation

◆ CurrentStep

uint Grail.SimulatedGames.SimulatedGameRuntime.CurrentStep
getset

You can set the game step here.

◆ Scores

double [] Grail.SimulatedGames.SimulatedGameRuntime.Scores = false
get

Array of scores indexed by teams. See in SimulatedGame constructor or property in class.

◆ TerminationRequest

bool Grail.SimulatedGames.SimulatedGameRuntime.TerminationRequest
getset

Set this property to indicate that the game has ended, i.e. the terminal conditions have been met.


The documentation for this class was generated from the following file: