chess.pl -- SWISH chessboard renderer
Render chessboards. Currently only deals with the N-queens problem. This
file is nevertheless called chess.pl
because it should be trivial to
extend this to more general chess positions.
The styling is a small modification of CSS3 Chess
Board
- term_rendering(+Term, +Vars, +Options)//
- Render an N-queens problem. This renderer assumes that the
solution is represented by a permutation of a list of integers
1..N, where the I-th integer describes the column of the queen
at row I.