summaryrefslogtreecommitdiff
path: root/src/print_board.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print_board.c')
-rw-r--r--src/print_board.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/print_board.c b/src/print_board.c
index 4256e7e..98280fd 100644
--- a/src/print_board.c
+++ b/src/print_board.c
@@ -22,7 +22,9 @@
#include "othello.h"
-void print_board(enum player_color board[8][8]) {
+void print_board() {
+ const enum player_color **board = get_board();
+
puts(" 0 1 2 3 4 5 6 7");
for (int row = 0; row < 8; row++) {