Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Rules about showing source code?

Author: Michel Langeveld

Date: 10:32:32 11/28/03

Go up one level in this thread


On November 28, 2003 at 13:04:51, José Carlos wrote:

>  If I was requested to show my source code in a tournament, would I be allowed
>to:
>
>  - Say I wrote it in assembly and provide the exe's asm file?
>  - Remove all the comments?
>  - Obfuscate the code by eliminating spaces and blank lines, changing variable
>names (u64AllPieces to a, u64WhitePieces to b, etc...), changing function names
>to something different (GenerateCaptures to GenerateChecks, Quiesce to
>EvaluateRooks, etc...), any other obfuscation technique?
>  - Add some files with non used code, for example from my Othello program, with
>a #define that is not defined (#if define(PLAY_FAST)...)?
>  - Remove some unimportant code (printfs for console mode, ...)?
>  - ...
>
>  Any of these changes would not change a bit how the program plays, and the
>program would comile just fine and show the same behaviour of the inspected exe.
>  My question: is there any rule against that? And if so, how can it be proven?
>
>  José C.

Don't forget that you have to explain the code in a convincing way and have to
prove that you are the author and not someone else.

So have fun explaining in a convincinly way obfuscated files, source combined
with a othello program or disassembly output.

I think they also want that the source you provide ... is also if you compile it
the executable that is used in the tournament. Unless you have a dual processor
program everything is verifiable and replayable probably.

You try to be smart ... that's good ... but don't forget the people in the chess
scene and also a human juri are not that stupid too. :-)

Nullmover is all from scratch and yes I can explain all the lines of code ...
the ways I tried it ... the ways that don't work and the ways that works. Also I
can tell you the order of how I implemented items, what items took really long
and what items are easy to make. The only foreign part I use is the egtb.cpp
with the permission of Eugene Namilov. And yes, no way I can explain all of his
code 100%



This page took 0.01 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.