Computer Chess Club Archives




Subject: Conversion to dual positions for EPD testsuites?

Author: Leen Ammeraal

Date: 09:43:49 11/26/01

Does anyone know if there is a utility to
convert an epd testsuite to an equivalent
one in which the roles of White and Black
are swapped? For example,

[D]8/8/1kpp4/8/2P5/2K5/8/8 w - - bm Kc2; id "MES.0008";

should be converted to

[D]8/8/2k5/2p5/8/1KPP4/8/8 b - - bm Kc7; id "MESDUAL.008";

I would like to use this to check if
some code fragments for White and Black in my
program are equivalent.
I could write this utility myself, but I am lazy
enough to prefer using one that already exists.

This page took 0.12 seconds to execute

Last modified: Thu, 07 Jul 11 08:48:38 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.