Computer Chess Club Archives


Search

Terms

Messages

Subject: Programming questions

Author: Severi Salminen

Date: 07:47:32 03/21/00


Hi!

I've started to program my own chess program (with assembler, NASM). So far it
only makes random moves and not all moving rules have been implemented. But, a
few questions (If you know a location to FAQ, please tell me. These questions
are, I know, trivial):

1. What methods do you use for move generation and check checking ?-) I now scan
the whole board and save the pseudo-legal moves to a table. For check checking
do I have to perform an another move generation to see if the king can be
captured (a sort of 1.5-ply search?)

2. How to implement hash tables? How do you generate the hash key?

Severi



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.