The Computer Move
Learn how to generate the computer's move.
We'll cover the following...
We'll cover the following...
What we have
We have created a function to place player’s moves on the board. Here is the snap of the getMove() function, which calls the getComputerMove() function.
Here is the getComputerMove() function that simply calls the randomMove() function as shown below:
We can ...