apologies.render

Render a game as a string.

Module Contents

apologies.render.render_board(game: apologies.game.Game) str

Render the state of a game, returning the board for display.

Parameters:

game (Game) – The game to render

Returns:

The board as a string, to be printed or for display on a terminal

Return type:

str