Upcoming Events
Southwest Gaming Expo
11/20 - 11/22 @ Dallas, TX

Workshop on Network and Systems Support for Games (NetGames 2009)
11/23 - 11/25 @ Paris, France

ICIDS 2009 Interactive Storytelling
12/9 - 12/11 @ Guimarães, Portugal

Global Game Jam
1/29 - 1/31  

More events...


Quick Stats
6820 people currently visiting GDNet.
2341 articles in the reference section.

Help us fight cancer!
Join SETI Team GDNet!



Link to us

Link to us

  Intel sponsors gamedev.net 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