pasky / pachi

A fairly strong Go/Baduk/Weiqi playing program
http://pachi.or.cz/
GNU General Public License v2.0
514 stars 117 forks source link

Dead stones fix2 #63

Closed lemonsqueeze closed 7 years ago

lemonsqueeze commented 7 years ago

Hi,

Something i've had in my tree for a while:

It can happen sometimes that the dead stones computed in final_status_list dead are different from the (good) ones in previous genmove where it figured pass is safe. The game is scored incorrectly and pachi loses the game.

This saves dead groups in genmove and reuses them in final_status_list to avoid the loophole.