Here's a way that you can get to the bottom of things. You already know there is a problem in a certain function, placeMove(), right?

So...

Modify the program so that the computer move is...