Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Any idea's on how long it takes to learn C++, then create a chessmonster

Author: Sven Reichard

Date: 07:04:54 12/10/01

Go up one level in this thread


On December 09, 2001 at 18:16:25, Derek Mauro wrote:

>On December 09, 2001 at 14:04:45, robert flesher wrote:
>
>Don't learn to program just to write a chess program.  Learn so you can do a lot
>of things like write utilities, solve hard math problems with brute force, etc.

Let me turn that statement around: Write a chess program to learn how to
program! If you have some prior programming experience (in any language) *and*
if you understand the basic chess algorithms *and* you want to learn a new
language (like C++), then try implementing it in that language. You won't create
a world class program (like most of us never will), but you will learn about the
idioms, abilities, and limitations of the new language.
I did that a while ago, trying to learn Smalltalk. It was a fun experience, but
I stopped when it played correctly and it became apparent that it couldn't look
further than say 6 ply. It searched at about 300-700 nodes (not kNodes!) per
second. However, as a result, I changed my style in C++ to become more object
oriented.

Sven



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.