BenBot
1.7.5
A chess engine
Loading...
Searching...
No Matches
ColorPrinting.hpp
Go to the documentation of this file.
1
/*
2
* ======================================================================================
3
*
4
* ░▒▓███████▓▒░░▒▓████████▓▒░▒▓███████▓▒░ ░▒▓███████▓▒░ ░▒▓██████▓▒░▒▓████████▓▒░
5
* ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░
6
* ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░
7
* ░▒▓███████▓▒░░▒▓██████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓███████▓▒░░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░
8
* ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░
9
* ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░
10
* ░▒▓███████▓▒░░▒▓████████▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓███████▓▒░ ░▒▓██████▓▒░ ░▒▓█▓▒░
11
*
12
* ======================================================================================
13
*/
14
20
21
#pragma once
22
23
#include <string_view>
24
25
namespace
util::strings
{
26
struct
TextTable
;
27
}
// namespace util::strings
28
29
namespace
chess::game
{
30
struct
Position
;
31
}
// namespace chess::game
32
33
namespace
ben_bot
{
34
35
using
chess::game::Position;
36
using
std::string_view;
37
41
45
void
print_colored_table
(
46
const
util::strings::TextTable
& table);
47
49
void
print_colored_board
(
50
const
Position
& pos,
bool
utf8);
51
53
void
print_labeled_info
(
54
string_view label, string_view info);
55
57
58
}
// namespace ben_bot
ben_bot::print_colored_table
void print_colored_table(const util::strings::TextTable &table)
ben_bot::print_colored_board
void print_colored_board(const Position &pos, bool utf8)
ben_bot::print_labeled_info
void print_labeled_info(string_view label, string_view info)
ben_bot
chess::game
Definition
CastlingRights.hpp:28
util::strings
Definition
Strings.hpp:43
chess::game::Position
Definition
Position.hpp:74
util::strings::TextTable
Definition
TextTable.hpp:41
libbenbot
include
libbenbot
engine
ColorPrinting.hpp
Generated on
for BenBot by
1.16.1