![]() |
Conquer Chess
Chess and Starcraft combined
|
#include <iosfwd>#include <string>#include <vector>

Go to the source code of this file.
Enumerations | |
| enum class | chess_color { black , white } |
| A chess piece color. More... | |
Functions | |
| std::vector< chess_color > | get_all_chess_colors () noexcept |
| chess_color | get_next (const chess_color c) noexcept |
| Get the next color. | |
| chess_color | get_other_color (const chess_color c) noexcept |
| Get the other color Identical to get_next}. | |
| void | test_chess_color () |
| Test the chess_color functions. | |
| std::string | to_human_str (const chess_color c) noexcept |
| char | to_fen_char (const chess_color c) noexcept |
| Convert the color to a FEN character. | |
| std::string | to_str (const chess_color c) noexcept |
| std::ostream & | operator<< (std::ostream &os, const chess_color c) noexcept |
|
strong |
|
noexcept |
|
noexcept |
Get the next color.
Identical to get_other_color}.
|
noexcept |
Get the other color Identical to get_next}.
|
noexcept |
| void test_chess_color | ( | ) |
Test the chess_color functions.
|
noexcept |
Convert the color to a FEN character.
| Color | FEN character |
|---|---|
| white | w |
| black | b |
|
noexcept |
|
noexcept |