Tic-tac-toe, Computer vs. human

exercise No. 147


This exercise allows a human playing tic-tac-toe against a computer. It is intended four course members desperately searching for a more challenging problem:

Figure 444. Two Tic-tac-toe players fighting each other.

The underlying logic is considerately more difficult to implement and requires recursion as being introduced in the section called “Factorial, the recursive way”. You may want to read: