JiachenRen / GomokuZero

Zero + is a Gomoku AI that implements threat space search, minimax with alpha beta pruning optimized with Zobrist and linear sequence cache, Principal Variation Search, and Monte Carlo Tree Search.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hasWinner() seems to be broken

AlexaLempel opened this issue · comments

Placing a piece that connects lines of three pieces of the same color with a line of two pieces of that same color aren’t flagged as victories. See screen captures below for example.

27E42E55-2633-422A-98C2-8F2B4A06DF28
3E88BA3D-5C40-4506-B558-043FFBE29F11

I first noticed it in the course of regular play, where the AI failed to defend against my impending six-in-a-row, and then the game failed to register it as a win.
B86E496C-F2F2-450C-9733-F80753A52CF2