The player (X) can make a move by clicking on a cell, and the computer (O) will make its move automatically after the player's move. The computer's move is chosen randomly from the available empty cells on the board. The game ends when either the player or the computer wins, or if there is a tie. The game state and messages are displayed in the HTML elements using JavaScript. Enjoy playing against the computer in Tic-tac-toe! Tic Tac Toe

Tic-tac-toe