tac.gui package

Submodules

tac.gui.monitor module

Module containing monitor classes.

class tac.gui.monitor.Monitor

Bases: abc.ABC

Abstract monitor class.

abstract is_running() → bool

Check if the monitor is running.

abstract start(game_stats: Optional[tac.platform.game.stats.GameStats] = None)

Start the monitor.

abstract stop()

Stop the monitor.

abstract update()

Update the monitor.

class tac.gui.monitor.NullMonitor

Bases: tac.gui.monitor.Monitor

Class for the null monitor.

property is_running

Check if the monitor is running.

start(game_stats: Optional[tac.platform.game.stats.GameStats] = None)

Start the monitor.

stop()

Stop the monitor.

update()

Update the monitor.

class tac.gui.monitor.VisdomMonitor(visdom_addr: str = 'localhost', visdom_port: int = 8097)

Bases: tac.gui.monitor.Monitor

Class for the visdom monitor.

property dashboard

Get the controller dashboard.

property is_running

Check if the monitor is running.

set_gamestats(game_stats: tac.platform.game.stats.GameStats)

Set the game stats.

start(game_stats: Optional[tac.platform.game.stats.GameStats] = None)

Start the monitor.

stop()

Stop the monitor.

update()

Update the monitor.

Module contents

Package that contains GUI utilities for the TAC project.