Create a web-based tic-tac-toe game. One player will play against the computer. On start, ask the computer to call it for a coin flip to see who gets to go first. The computer will enforce the rules and detect when the game is over and announce the winner or a draw and encourage the player to play again. The computer will select a legal move randomly when it is their turn.