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 13:26:44 -0700
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0

On 25/01/2012 1:11 PM, Michael Petch wrote:

> show scoresheet
> 
> and get output that looks like this:
> 
> Score Sheet - Match to 7 points
> 
> player1 | player2
> -----------------
>       2 | 0
>       2 | 2
>       2 | 4
>       2 | 7
> 
> The last line would be the final score.
> 

There is another way and this is a bit of a hack. You can use the "show
score" command but you need to navigate to the end of the match to see
the final score:

You can do something like:
next game 1000000
next 1000000
show score

The output will look like:

The score (after 4 games) is: gnubg 2, root 7 (match to 7 points).

The 1000000 is an arbitrarily large number. The first command advances
to what will effectively be the last game (advance forward 1 million
games). The second one will effectively move to a position beyond the
last move of the match (advances forward 1 million moves). At which
point you show the score.

-- 
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]