From ec8e4cf0a6df7484cdbb5eab9be7229b43666c00 Mon Sep 17 00:00:00 2001 From: rektdie Date: Thu, 21 Mar 2024 10:00:26 +0100 Subject: [PATCH] PrintBoard() now prints in hex as well --- source/bitboards.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/bitboards.cpp b/source/bitboards.cpp index 794e629..c2b5edd 100644 --- a/source/bitboards.cpp +++ b/source/bitboards.cpp @@ -16,6 +16,7 @@ void Bitboard::PrintBoard() const { std::cout << "+---+---+---+---+---+---+---+---+\n"; std::cout << " a b c d e f g h\n\n"; + std::cout << " Board: 0x" << std::hex << m_board << '\n'; } U64 Bitboard::GetBoard() const {