BoardPrinter

dicechess.engine.cli.BoardPrinter
object BoardPrinter

Renders dicechess.engine.domain.GameState boards to the terminal.

The printer supports both ASCII and Unicode rendering modes because some environments (like Windows cmd.exe or non-UTF8 terminals) cannot reliably display chess glyphs, requiring a standard ASCII fallback for compatibility.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def printBoard(state: GameState, useUnicode: Boolean): String