MF: Project still needs to be wrapped up and updated online
On this page, you'll implement the Tic-Tac-Toe strategy rules to make the computer play strategically.
You'll set up a block so you can broadcast to all the clones the position where the computer will move. As before, only the clone with the matching position number will make the move.
The code for next move for computer
will implement the three strategy rules:
if
block, you'll need a predicate to put in the hexagonal input slot of if
. Write
broadcast
instead of best empty square
.
Use your block too.
atoms
.