Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Ambiguous moves in algebraic notation

Author: Daniel Clausen

Date: 02:02:19 06/28/02

Go up one level in this thread


On June 28, 2002 at 04:44:19, Russell Reagan wrote:

>My move struct has a toMove() method (C++) and it currently has no knowledge
>of the position it's being made in. So how am I supposed to be able to do this
>extra checking without knowing what the rest of the position looks like? How
>about adding a static pointer to my position struct and have the move struct
>access the position via that?

I didn't like the dependency move->board position. I introduced a class
'MovePrettyPrinter' which gets a position and a move and can pretty print it.

Sargon



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.