Code covered by the BSD License  

Highlights from
Chess with "Greedy Edi"

image thumbnail

Chess with "Greedy Edi"

by

 

07 Nov 2009 (Updated )

Play chess against "Greedy Edi".

show

show

show displays a chess figure.

Contents

Syntax

handle = show(fig_name,pos,color)

Description

A chess figure is displayed at a certain position.

Note: There are currently two sets of chess figures available.

Inputs:

  • fig_name ... name of the chess figure
  • pos ... the position of the chess figure
  • color ... color of the chess figure (black or white)
  • global board ... structure of the chess board and related information
  • global layer ... display layer of graphic objects (z-coordinate)

Outputs:

  • handle ... handle to chess figure

Example

Assume there is a global board and global layer variable defined. To display a white Knight at c3 [3 6] you would type show('N',[3 6],1).

See also

setFiguresPosition, Knight, Chess

Signature

  • Copyright 2006 W.Garn

Contact us