bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Scripts


From: Michael Petch
Subject: Re: [Bug-gnubg] Scripts
Date: Wed, 25 Jan 2012 17:47:59 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 25/01/2012 5:30 PM, boomslang wrote:
>     set rng mersenne 1
>     set player GNUbg gnubg
>     set player You gnubg
>     new match 21

I would do it this way:

set rng mersenne 1
set player 0 gnubg
set player 1 gnubg
new match 21

The problem with "set player You gnubg" assumes that there is always a
player named "You" and if it doesn't exist the command will fail. Using
the number 0 and 1 get around that. But technically speaking if the
players are set to gnubg, "new match 21" should continue until the match
is complete.

-- 
Michael Petch
CApp::Sysware Consulting Ltd.
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304



reply via email to

[Prev in Thread] Current Thread [Next in Thread]