ChessTools

Welcome to the Chess Tools site. We provide handy development tools and information for chess programming enthusiasts

Introduction

Here you'll learn more about some cool development tools for creating computer chess software. Featuring ActiveX controls for modeling and displaying the chess board, generating and processing chess moves evaluating and analyzing a position. Pre-release version now available for download. Look out for continual updates, tutorials and documentation coming soon.

Updates

About Chesstools

Screen Shots

Sample Programs

References

 

COMPUTER CHESS PROGRAMMING

 

ACTIVEX CONTROLS FOR VB and VC PROGRAMMERS

 

(CHESSTOOLS)

 

Developed (2000, 2001)

 

By

 

ALWIN L. HALES, Ph.D

What's New

In April 2003 the following Properties were added to the ChessGame control:

  • ShowPromotionDialog as Boolean 'Determines whether the pawn promotion dialog is displayed by the ValidMove Method
  • LegalMoves as Boolean 'This differs from the GenMoves property in that it returns only legal move in the current position.

May 2003

  • The MoveText Property was enhanced so it is no longer read only. It can now accept a move in algebraic format and sets the InputMove Property if the move is valid. The output format in the algebraic notation mode has also been improved. Formerly it returned the fully qualified algebraic format e.g. "Ra1e1". It now returns the abbreviated form "Rae1" when two of the same pieces can move to the square. In the rare event that three pieces can move to the square it returns the fully qualified format.
  • ValidMoveText as Boolean 'Determines whether a move entered in text format is valid. If the move is valid it sets the InputMove Property.
  • The ValidMove Property now takes an optional third parameter PromotionPiece. This parameter is ignored if the move is not a pawn promotion, otherwise it allows automatic under-promotion if the ShowPromotionDialog Propertyis set to False.

June 2003

  • The Autochess program was uploaded. This is a more advanced application developed using the chesstools OCX controls