Author: Dan Homan
Date: 14:26:30 09/22/99
Go up one level in this thread
On September 22, 1999 at 15:30:36, Brian Nielsen wrote: > >Hi > >My name is Brian, i was thinking about writing a chess engine for fun. >I am pretty experienced programmer/developper(c++,delpie), but have not been >programming games, thoug i have made a packman clone a couple years ago. > >I have done a little research myself to get the principles in making a chess >engine/program, and i think i now have basic understanding in how to(i hope :-)) > >i am curious in how you chessgame programmers represent the chessboard, I have >seen 4-5 different examples/ways in how to do it, how do you do it and why ?? > >Second how long time does it take to make a basic engine! from scratch >provided that i am a experienced programmer. > >Best regards > >Brian Nielsen My program uses a simple array of 64 "squares" where each square has a color and piece type associated with it. It is a very simple implementation. I think there are a lot of better choices, but this works for me (for now...). Writing a basic engine from scratch will probably take a week or two of evenings.... It depends on how fast you work and how complicated you want to make it to start. I've started both of my chess programs by writing the 'pseudo-legal' move generator... each time this took me a few hours, but my move generation has never been fancy. Once you have a move generator, the rest of the program follows pretty quickly, but some parts take longer than others. - Dan
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.