Computer Chess Club Archives


Search

Terms

Messages

Subject: Rules about showing source code?

Author: José Carlos

Date: 10:04:51 11/28/03


  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.



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.