Upcoming Events
Gen Con UK
8/28 - 8/31  

Penny Arcade Expo
8/29 - 8/31 @ Seattle, WA

Virtual Worlds Conference and Expo
9/3 - 9/4 @ Los Angeles, CA

Women In Games
9/10 - 9/12 @ Coventry, United Kingdom

More events...


Quick Stats
4691 people currently visiting GDNet.
2207 articles in the reference section.

Help us fight cancer!
Join SETI Team GDNet!



Link to us

  search:   

  Contents

 Games of Perfect
 Information

 What We Need
 Board
 Representations

 Move Generation
 Search Techniques
 Evaluation

 Printable version

 


  The Series

 Getting Started
 Data Structures
 Move Generation
 Basic Search
 Advanced Search
 Evaluation
 Functions


 

What We Need

In order to play chess, a computer needs a certain number of software components.  At the very least, these include:

  • Some way to represent a chess board in memory, so that it knows what the state of the game is.
  • Rules to determine how to generate legal moves, so that it can play without cheating (and verify that its human opponent is not trying to pull a fast one on it!)
  • A technique to choose the move to make amongst all legal possibilities, so that it can choose a move instead of being forced to pick one at random.
  • A way to compare moves and positions, so that it makes intelligent choices.
  • Some sort of user interface.

This series will cover all of the above, except the user interface, which is essentially a 2D game like any other.  The rest of this article describes the major issues related to each component and introduces some of the concepts to be explored in the series.


Next : Board Representations