got win condition to correspond to board size