Bonanza version adapted for interactive analysis

126 views
Skip to first unread message

h.g.m...@hccnet.nl

unread,
Sep 14, 2013, 3:43:32 PM9/14/13
to sho...@googlegroups.com
I have been tinkering a little with the Bonanza engine. In particular, I
extended it with an 'undo' command, to take back the preceding move, and
an 'analyze' command, which starts a search of indefinite duration o the
current position. (As far as I could see this is different from letting
Bonanza ponder on the position, as in pondering it speculatively picks a
move, and only ponders on the position after that move.)

Once set to analyze, Bonanza will continue to do so when receiving 'move'
or 'undo' commands that alter the position (in which case it of course
analyzes the position reached by these commands). Altering the number of
printed variations (through the 'mpv num' or 'mpv width' commands) is also
possible without aborting the analysis. (Multi-PV was an existing Bonanza
feature, but not every compile had it switched on.) Other commands would
shut down the analysis, and a new 'exit' command would do so without side
effects.

Also new is the 'xboard' command, which does switch Bonanza to a mode
where it communicates in WinBoard protocol. In this mode it can be used as
engine in the WinBoard or XBoard GUI. The set of supported commands is
pretty minimal (enough to let it play games from the standard opening
position, though). But it does support the exclude-moves feature of WB
protocol, which can be used to exclude selected moves from the analysis.
(Multi-PV mode is also accessible in WB mode.) In native mode it supports
such exclusion by means of the 'move restraint' command, which reads the
excluded moves from a file. (This was an (undocumented?) feature of the
original version.) But in WinBoard mode the moves can be dynamically
excluded or re-included each time you reach a new position. This should
make it ideal for interactive analysis.

A Windows binary can be downloaded from http://hgm.nubati.net/bonanza.zip
. This contains only the .exe, which should be used to replace bonanza.exe
in a complete install.

The source code is available in my on-line git repository (
http://hgm.nubati.net/cgi-bin/gitweb.cgi ). It can be compiled for Linux
by means of the included Makefile. (Required command: "make -f Makefile
gcc").

Have fun,
H.G.

h.g. muller

unread,
Sep 15, 2013, 3:37:05 AM9/15/13
to sho...@googlegroups.com
I just learned that the zip file with the binary was damaged on upload, and
could
not be unpacked. I redid the upload, and this time verified that I could indeed
unpack it after I downloaded it again.

Sorry about amy inconvenience this might have caused.
H.G.

Max Prilin

unread,
Sep 15, 2013, 6:30:36 AM9/15/13
to sho...@googlegroups.com
 Thank you, H.G.,

 you can see on my articles Cubic shogi and Cubic chess in Wikipedia, my homepageis www.cubiccheckers.com

  Best regards

  Vladimir


2013/9/15 h.g. muller <h.g.m...@hccnet.nl>
--
You received this message because you are subscribed to the Google Groups "SHOGI-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shogi-l+unsubscribe@googlegroups.com.
To post to this group, send email to sho...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shogi-l/4.2.0.58.20130915093337.01e84a40%40pop.hccnet.nl.

For more options, visit https://groups.google.com/groups/opt_out.

Lukas Vyletel

unread,
Sep 15, 2013, 8:51:06 AM9/15/13
to sho...@googlegroups.com

Hi Vladimir,

Thank you for your email. I mean no disrespect, but this mailing group was already informed about your game and your message now was completely off-topic of this thread. Could you please stop using this mailing group as your private marketing place? Thank you for your understanding.

Best regards,
Lukáš Vyletel

To unsubscribe from this group and stop receiving emails from it, send an email to shogi-l+u...@googlegroups.com.

To post to this group, send email to sho...@googlegroups.com.

Max Prilin

unread,
Sep 15, 2013, 8:59:40 AM9/15/13
to sho...@googlegroups.com
  Hlboko sa ospravelňujem prívržencovi klasických shogi. Dúfam, že som Vám nespôsobil srdcový infarkt ale ďalšie nové tky. Pozrel som si niektoré Vaše príspevky - sú kvalitné.

  S pánom bohom - teda s Vami

  MUDr. VP


2013/9/15 Lukas Vyletel <vyl...@gmail.com>

h.g.m...@hccnet.nl

unread,
Sep 15, 2013, 9:03:36 AM9/15/13
to sho...@googlegroups.com
Someone informed me that the Bonanza version I had patched (Bonanza Feliz
0.0) was no longer the most recent version. So I also applied the same
patches to Bonanza v6.0 now, and posted the Windows binary for it in place
of the other one. (Note that my compiles are 32-bit compiles, though, as I
have no 64-bit compiler. If you really want to have a fast SSE-enabled
version, you will have to compile it yourself. The source-code comes with
a Makefile for MSVC or Intel compiler.)

The sources of this new version are also available in my on-line git
repository, in the branch v6.0 (master branch is Bonanza Feliz).

H.G.

>>
>> A Windows binary can be downloaded from
>> http://hgm.nubati.net/bonanza.**
>>
>>> zip <http://hgm.nubati.net/bonanza.zip> . This contains only the .exe,
>>> which should be used to replace bonanza.exe in a complete install.
>>>
>>> The source code is available in my on-line git repository (
>>> http://hgm.nubati.net/cgi-bin/**gitweb.cgi<http://hgm.nubati.net/cgi-b
>>> in/gitweb.cgi>). It can be compiled for Linux by means of the included
>>> Makefile. (Required command: "make -f Makefile
>>> gcc").
>>>
>>> Have fun,
>>> H.G.
>>>
>>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups
>> "SHOGI-L" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to
>> shogi-l+unsubscribe@**googlegroups.com<shogi-l%2Bunsubscribe@googlegrou
>> ps.com> .
>> To post to this group, send email to sho...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/**
>> msgid/shogi-l/4.2.0.58.**20130915093337.01e84a40%40pop.**hccnet.nl<https
>> ://groups.google.com/d/msgid/shogi-l/4.2.0.58.20130915093337.01e84a40%4
>> 0pop.hccnet.nl>
>> .
>>
>>
>> For more options, visit
>> https://groups.google.com/**groups/opt_out<https://groups.google.com/gr
>> oups/opt_out> .
>>
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "SHOGI-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to shogi-l+u...@googlegroups.com. To post to this group, send
> email to sho...@googlegroups.com. To view this discussion on the web
> visit
> https://groups.google.com/d/msgid/shogi-l/CAJtazYeDxX_K0n8oLW9TDXazwLSbvo
> Pg1S-z8Dr4CTuMRNYTAw%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "SHOGI-L" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to shogi-l+u...@googlegroups.com. To post to this group, send
> email to sho...@googlegroups.com. To view this discussion on the web
> visit
> https://groups.google.com/d/msgid/shogi-l/CALkboxYW1-BuO%2BcNdqRiGoMCihGD
> duzL19BBzMe72O5s2P1cjA%40mail.gmail.com. For more options, visit
> https://groups.google.com/groups/opt_out.
>
>


h.g.m...@hccnet.nl

unread,
Sep 16, 2013, 1:56:54 PM9/16/13
to sho...@googlegroups.com
I now setup a separate page from which the enhanced Bonanza version can be
downloaded, as part of the computer-Shogi website I am building. This page
also contains a more elaborate explanation of how it can be used for
interactive analysis under WinBoard / XBoard.

http://hgm.nubati.net/bonanza.html


Reply all
Reply to author
Forward
0 new messages