summaryrefslogtreecommitdiff
path: root/include/print.h
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2015-03-28 17:04:01 -0300
committerRaúl Benencia <rul@kalgan.cc>2015-03-28 17:04:01 -0300
commit922eef24c4ee4116c51eaf175b55f71e94fce6c4 (patch)
tree68072d9e30b42952dc66692adf16fb45c52fb96e /include/print.h
parenta7f2a09bce2d94c236469843d0815803edbf3574 (diff)
use coordinates
Diffstat (limited to 'include/print.h')
-rw-r--r--include/print.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/print.h b/include/print.h
index c17459f..0fcbe3a 100644
--- a/include/print.h
+++ b/include/print.h
@@ -5,6 +5,11 @@
void print_piece(Piece);
void print_square(Square);
-void print_board(Board);
+
+/*
+ * Pretty print the board. The Color parameter let you choose the
+ * orientation. Use WHITE for a white player perspective, BLACK otherwise.
+ */
+void print_board(Board, Color);
#endif
nihil fit ex nihilo