I have create this simple tic tac toe game with a 2d array board. I current have it playing person vs person and I want to implement a computer to the game so it would be a person vs a computer game. I am having a hard time figuring out how to implement a computer to input a random rows and columns to input its choice. How can I get started? and I can finished the rest when I have the base layout for the computer.
https://i.stack.imgur.com/05NPq.png [2]: https://i.stack.imgur.com/vJfUm.png [3]: https://i.stack.imgur.com/dlF1l.png
Aucun commentaire:
Enregistrer un commentaire