Your game must:
- Use a two dimensional array to represent the game board
- Use a while loop and conditional logic to allow two players to take turns.
- Allow the user to specify where they would like to move.
- When the user enters the position of their move, you should display an updated game board showing their move (or throw an exception if they try to move to a location that isn't empty).
- Display "Humans player wins", "Computer wins", or "It's a draw." when the game is over.
- Maintain a record of each game in a file called games.txt. The results of each game should beappendedto the file. It should be displayed to the user before every new game, and be displayed in the format below:
Game 1: Human player wins
Game 2: Computer wins
Game 3: Computer wins
Note: You don't need to make the computer player behave intelligently. It's fine for the computer to choose any available position randomly.