Closed lemonsqueeze closed 8 years ago
Depends on PR#49 - but you mentioned it doesn't need to?
Yes, this one can be rebased earlier. Let me check ...
Could be rebased earlier, but there are merge conflicts because tactics_undo also changes it. Might be better to leave it where it is.
I wish i knew, all my attempts at using new can_countercapture() here failed, winrate dropped. One thing that would make sense is under the stones situations, maybe they're not so uncommon in moggy. Or maybe it upsets moggy's balance somehow (i guess there's always a chance opponent doesn't capture after taking snapback)
Rebased on current master.
I see. That happens, but could point out to a possible issue with the code. No need to solve that now, but I think it'd be worthy an XXX comment at that place of the code with what you just wrote in your comment here, do you agree?
Definitely, here it is. It's all the more puzzling that before the is_bad_selfatari() changes that allowed nakade without atariing surrounding group, situation was strict already if i'm not mistaken, pretty much all snapbacks were blocked. Might be worth testing again at some point, i think i was still play-testing multithreaded at that time, could have been hit by the mt bug.
Awesome, thanks!
Has can_countercapture() only check for snapback instead of full-fledged is_bad_selfatari(). Faster, and fixes situations where the snapback also looks like a good nakade (doesn't seem to make it any stronger though =)