Rook

Rook The rook objects.

Contents

Syntax

varargout = Rook(method, varargin)

Description

This m-function contains the variables and methods for all queens.

Inputs:

Outputs:

Example

Add a white rook on field c4 [5,3]. Rook('init',[5 3],1,'Bc4')

Move the rook from c4 [5,3] to c5 [3 3]. Rook('move',[5 3],[3 3])

Determine the rooks best move from c4 Rook('best_move',[5 3])

See also

Chess, legal_move, show, remove_figure, Value_of_Figure

Signature