Learn to Code
John F. Dumas
contact me | resume | how it works | example programs | testimonials | main page

Javascript - Tic-0ac Toe


► Problem Description: Write a program to play tic tac toe. Allow the user to click to select their next move or to press a button labeled 'Computer Move' that will choose the next move for them..


► Program:

Please select your move or press 'Computer Move' to have the computer choose the next move.
 


► Source Code

All source files (zip file)


Back to Example Program Index


© John F. Dumas | johnfdumas@gmail.com | main page | top of page