Computer Chess Club Archives


Search

Terms

Messages

Subject: Version Control

Author: Georg v. Zimmermann

Date: 10:50:25 08/20/00


In normal programming one is used to improve his program with every new version.
You add features or fixs bugs etc.

In chess programming it is more difficult since a change that you thought would
be good might very well weaken the program or you are just fine tuning
parameters.

My question therefore is : how do you manage the different versions of your
program ?

- Use a sophisticated version control program. Which are good for chess prog.
purposes ?
- Safe all the source file before most any change and copy them back if there
wasn't an improvement (keep the code clean ?)
- Comment out (// ...) the new code if it turns out to be bad (never delete
ideas ?)
- #ifdef it out ( you want to try again later ?)

Another organistational problem for me is with selftesting: when I want to play
some overnight test games I have the last stable version as blah.exe in one
folder and rename the new version to blah-beta.exe , copy it into my "beta"
folder and have winboard setup to play games between blah and blah-beta.
This can't be the most effective way ...

Regards,

Georg v. Zimmermann



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.