quoridor.terminal_plotter#

Plotter in terminal.

Classes

TermPlotter()

Terminal plotter.

class quoridor.terminal_plotter.TermPlotter#

Terminal plotter.

The TermPlotter object is used to plot a game on the terminal. It can only work if it plots the game from the begining, it doesn’t have yet any feature to plot a game from any state it is in.

__init__() None#

Nothing to initialize.

init_wall = '+---+---+---+---+---+---+---+---+---+'#
plot(bs: BoardState) None#

Plot a board state.

pos_line = '|                                   |'#
wall_line = '+   +   +   +   +   +   +   +   +   +'#