Buttercola: Leetcode: 348. Design Tic-Tac-Toe
A move is guaranteed to be valid and is placed on an empty block. Once a winning condition is reached, no more moves is allowed. A player who succeeds in placing n of their marks in a horizontal, vertical, or diagonal row wins the game.
DA: 48 PA: 91 MOZ Rank: 87