sunfish-shogi / shogihome

PC で動く高機能な将棋の GUI「ShogiHome」の開発リポジトリ
https://sunfish-shogi.github.io/shogihome/
MIT License
136 stars 21 forks source link

PV Rate Dropping to -2000 When Engine Suggests Resign #507

Closed Quisette closed 1 year ago

Quisette commented 1 year ago

Please refer to the graph below.

When the game has checkmate, USI engine will suggest "resign", like this:

image

However, the PV shows nothing to display (in ShogiGUI, it will show "resign").

image

And the rate has dropped to -2000:

image

Is this considered a bug? Thanks!

Quisette commented 1 year ago

In this case, sente wins the game by checkmate.

sunfish-shogi commented 1 year ago

Thank you for your report!

And the rate has dropped to -2000:

ElectronShogi can not read score mate -0 correctly. I will fix it.

However, the PV shows nothing to display (in ShogiGUI, it will show "resign").

This is the different problem. pv resign is not defined in http://shogidokoro.starfree.jp/usi.html I think it is extended representation of ShogiGUI and YaneuraOu. ElectronShogi does not accept resign in PV.