Suggestion for a new command

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

Suggestion for a new command

Postby Miguel A. Ballicora » 27 Sep 2009, 19:44

Xboard/winboard has the 'bk' command for opening book information about the current position. I would like to have a similar 'tb' command so I can output this

Image

Code: Select all
White wins in    9 moves
----------------------------------
 Kb7      wins in   9 ( 17 plies)
 Kb8      wins in   9 ( 17 plies)
 Rb7      wins in   9 ( 17 plies)
 Ra6      wins in  10 ( 19 plies)
 Rc6      wins in  10 ( 19 plies)
 Rd6      wins in  10 ( 19 plies)
 Ka7      wins in  10 ( 19 plies)
 Rb1      wins in  11 ( 21 plies)
 Rb2      wins in  11 ( 21 plies)
 Rb3      wins in  11 ( 21 plies)
 Rb4      wins in  11 ( 21 plies)
 Rb5      wins in  11 ( 21 plies)
 Re6      wins in  11 ( 21 plies)
 Rf6      wins in  11 ( 21 plies)
 Rh6+     wins in  11 ( 21 plies)
 Rb8+     wins in  11 ( 21 plies)
 Rg6      wins in  11 ( 21 plies)


I have the command tb in console, but I would like to do it with the GUI too.
I think it should be very easy to implement. It should be identical to bk and philosophically symmetrical. Like bk, it should be in analyze mode too.

Also, there should be a way for the engine to have a "telluser" that can output more that one line so we can implement this type of outputs with our own "button"'s added in feature option.

Miguel
User avatar
Miguel A. Ballicora
 
Posts: 160
Joined: 03 Aug 2005, 02:24
Location: Chicago, IL, USA

Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 7 guests