From 2824d08a2ad63c572b7b993ceed8843378d4bf20 Mon Sep 17 00:00:00 2001 From: "Mr. Sam" Date: Mon, 20 Jul 2026 22:58:53 +0100 Subject: change colors, show hand, add some logic to piece movement. --- board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board.c') diff --git a/board.c b/board.c index a4faad3..b14f225 100644 --- a/board.c +++ b/board.c @@ -41,8 +41,8 @@ void PrintBoard(char board[8][8]){ } attron(A_BOLD | COLOR_PAIR(4)); - if ( i == 1) printw(" BLACK "); - if ( i == 6) printw(" WHITE "); + if ( i == 1) printw(" HAND: %d ", hand); + if ( i == 6) printw(" POSITION: %d ", board[cursorPosX][cursorPosY]); attroff(A_BOLD | COLOR_PAIR(4)); printw("\n"); } -- cgit v1.2.3