Turns, legal squares, and lines
Select any empty square to place X. The browser then chooses one legal square for O; occupied squares never change and cannot be selected again. A horizontal row, vertical column, or either diagonal containing three identical marks ends the round immediately.