
August 7th, 2002, 06:45 PM
|
|
|
|
Join Date: Apr 2007
Location: <i>Trecate, Novara,</i><br><b>Italy</b>
Posts: 14
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
RE: The *.txt-files!
Quote:
Will there be ONLY 1 line AT ALL TIMES with ONLY 1 command (MU, MD, TL for example)? |
Yes ONLY 1 line terminated with a 'n' and in this line we have to put ONLY 1 command.
Quote:
a) Will there be multiple lines with commands printed by the php-script? |
In input.txt is almost similar to move.txt (1 line terminated with 'n) but the commands are different. ('MOVEOK','MOVEBAD',etc...)
Quote: |
b) Is STARTWHITE or STARTRED supposed to be written in the input.txt? Are we supposed to randomly select color ourselves? |
START(color) will be the first command you receive in input.txt. With this command you can understand were you are and were the opponent flag is. Obviously you can also understand if you start as first. 
|