Computer Chess Club Archives


Search

Terms

Messages

Subject: Pawn Promotion.

Author: Larry Griffiths

Date: 22:41:08 07/29/00


I am working on the last part of my piece Generation/Move code which is Pawn
promotion.

My old program only promoted to Queens.  I want to make this verison promote
pawns to Knights, Bishops, Rooks or Queens.

How many of you have this type of code in your programs?

I think I have found a way to do it, but am open to any suggestions on how to do
it.   :)

Larry.



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.