stratega.GameRunner

class stratega.GameRunner

An abstract class that provides a simplified interface to play games with a given SGA::GameConfig.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get_gamestate(self)

Returns a reference to the current state of the game.

play(*args, **kwargs)

Overloaded function.

render(self, arg0)

Renders a visual representation of the game.

reset(*args, **kwargs)

Overloaded function.

run(*args, **kwargs)

Overloaded function.

step(self, actions)

Advances the game by one timestep.