diff options
| author | Mr. Sam <samuel@yakubos.org> | 2026-07-20 22:58:53 +0100 |
|---|---|---|
| committer | Mr. Sam <samuel@yakubos.org> | 2026-07-20 22:58:53 +0100 |
| commit | 2824d08a2ad63c572b7b993ceed8843378d4bf20 (patch) | |
| tree | dff536a8e5a24ec28a469cfc4bafaf9b91c1d0a8 /board.c | |
| parent | 499d80c70df540d67486d78325e9d5e00dd760bb (diff) | |
change colors, show hand, add some logic to piece movement.
Diffstat (limited to 'board.c')
| -rw-r--r-- | board.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); } |