diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-09-14 21:47:28 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-09-14 21:47:28 +0300 |
commit | c3474b1481a02baefda1abe286d4fbef39597bce (patch) | |
tree | d17c256759f070cad275544bf40e40ee55fc7975 | |
parent | 318067f9e66b363b14e684492b7a1af021eb6a20 (diff) | |
download | j1chess-c3474b1481a02baefda1abe286d4fbef39597bce.tar.gz |
-rw-r--r-- | src/bitboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitboard.c b/src/bitboard.c index c0abbf8..e53e3ed 100644 --- a/src/bitboard.c +++ b/src/bitboard.c @@ -5,7 +5,7 @@ * (i.e the board is actually flipped along X) */ void printBitboard(Bitboard bb) { for (U64 index = 0; index < 64; index++) { - printf("%lu", (bb >> index) & 1); + printf("%c", (bb >> index) & 1 ? '1' : '.'); if ((index + 1) % 8 == 0) printf("\n"); } printf("\n\n"); |