Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Plz dont laugh at me.....I am serious!!

Author: Derek Mauro

Date: 12:54:59 12/28/01

Go up one level in this thread


On December 28, 2001 at 13:57:26, Dann Corbit wrote:

>On December 28, 2001 at 13:17:26, Bruce Moreland wrote:
>
>>On December 28, 2001 at 08:38:12, boyons wrote:
>>
>>>I want to start learning Computer Programming and thinking about writing a
>>>chess program using Visual Basic. Does this a good idea? I have some very basic
>>>knowledge in XBase Programming. Does anyone know a link for chess programming
>>>beginner. Thanks.
>>
>>Start with something simpler if you don't know what you are doing.  Writing a
>>chess program is not incredibly hard, but it does require some technical skill.
>>
>>It is likely that you'll have more success and attain more satisfaction if you
>>try something less complex.  If you really want to write a computer game
>>program, try backgammon.  It is possible to write a backgammon program that can
>>beat a casual backgammon player often, without much difficulty.
>
>Another idea might be tic-tac-toe.
>
>Very simple game, and yet it can have advanced features like alpha-beta search.

I agree.  Tic-tac-toe is a good way to learn about recursion, and it's
impossible for the computer to lose if you do it right.  When I wrote a
tic-tac-toe program, I didn't use alpha-beta because the search didn't take very
long anyway.

Next try the game Connect-4 (on a 7x6 board).  It's similar to tic-tac-toe, but
will require alpha-beta or else you won't search very deep.  You can also write
a primitive evaluation function (with tic-tac-toe you only care if a position is
a win or not).



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.