TheChess
Public Member Functions | Friends

thechess::chess::Board Class Reference

List of all members.

Public Member Functions

void init_chessmans (Yname y, Color color)
void init_pawns (Yname y, Color color)
const Fields & fields () const
bool isset (Xy xy) const
Color color (Xy xy) const
Chessman chessman (Xy xy) const
Field field (Xy xy) const
void make_move (const Move move)
Color order () const
bool castling (Xy rock_xy) const
bool long_pawn () const
Xname long_pawn_x () const
bool test_move (const Move move) const
bool test_attack (Xy xy, Color c) const
bool test_attack (Move move) const
FinishState test_end () const
const std::string to_string () const
const std::string to_table () const
Xy some_target (Xy from) const
Xy some_source (Xy to) const
Move some_move () const
bool can_move (Xy from) const
bool test_shah (Color color) const
bool test_shah () const
Xy find_king (Color c) const
bool test_takes (const Move move) const
bool test_castling (const Move move) const
void fen (std::ostream &out, int halfmove, int fullmove) const

Friends

void run_tests ()

The documentation for this class was generated from the following files:
 All Classes Functions Enumerations Enumerator