View Source Hanoi.Render (Towers of Hanoi v1.0.0)

Functions for converting the internal data representation to a text-based human-readable format.

Generally used by the command line application

Summary

Functions

Renders a board <struct> as a <String>.

Functions

@spec render_to_string(board :: Hanoi.Board.t()) :: String.t()

Renders a board <struct> as a <String>.