tic-tac-toe in vanilla JavaScript AI 对弈 / man-machine game 通过一维数组实现 / implement using one-dimensional array