19#ifndef RESTRICTEDMOVEBOARD_H
20#define RESTRICTEDMOVEBOARD_H
22#include "westernboard.h"
41 virtual bool vIsLegalMove(
const Move& move);
42 virtual bool inCheck(
Side side,
int square = 0)
const;
50 bool reverse =
false)
const = 0;
An internal chessboard class.
Definition: board.h:58
A small and efficient chessmove class.
Definition: move.h:43
A base class for boards. It is intended for chess variants of standard chess with additional move res...
Definition: restrictedmoveboard.h:34
virtual bool restriction(const Move &move, bool reverse=false) const =0
virtual Board * copy() const =0
The side or color of a chess player.
Definition: side.h:36
A board for western chess variants.
Definition: westernboard.h:41