Yes, I sent name as a command, it answers the commands I implemented :(

Here is the output:

name
= Evil Tesuji

protocol_version
= 2

name
= Evil Tesuji

Thanks for the help


version
= 0.0a


2013/4/8 Álvaro Begué <alvaro.be...@gmail.com>

> Sorry, s/endlines/newlines/
>
> Also, have you tried to run the program on the command line and pretend to
> be the GUI?
>
>
> On Mon, Apr 8, 2013 at 1:51 PM, Álvaro Begué <alvaro.be...@gmail.com>wrote:
>
>> The number of endlines shouldn't matter. GTP specifies that empty lines
>> should be ignored both by the engine and the GUI.
>>
>>
>>
>> On Mon, Apr 8, 2013 at 1:50 PM, Sebastian Scheib <
>> stackpointe...@gmail.com> wrote:
>>
>>> Well, it worked in Java, why not in Python. Is some old code I am
>>> "translating" to Python.
>>>
>>>
>>> 2013/4/8 John Tromp <john.tr...@gmail.com>
>>>
>>>> > System.out.println("= Evil Tesuji\n\n");
>>>>
>>>> println adds another newline, for a total of 3.
>>>>
>>>> > In Python I am trying with:
>>>> >
>>>> > sys.stdout.write("= "+self.param.name+"\n\n")
>>>>
>>>> only 2 newlines?!
>>>>
>>>> -John
>>>> _______________________________________________
>>>> Computer-go mailing list
>>>> Computer-go@dvandva.org
>>>> http://dvandva.org/cgi-bin/mailman/listinfo/computer-go
>>>>
>>>
>>>
>>> _______________________________________________
>>> Computer-go mailing list
>>> Computer-go@dvandva.org
>>> http://dvandva.org/cgi-bin/mailman/listinfo/computer-go
>>>
>>
>>
>
> _______________________________________________
> Computer-go mailing list
> Computer-go@dvandva.org
> http://dvandva.org/cgi-bin/mailman/listinfo/computer-go
>
_______________________________________________
Computer-go mailing list
Computer-go@dvandva.org
http://dvandva.org/cgi-bin/mailman/listinfo/computer-go

Reply via email to