you might use sleep(2000) which would pause execution for 2 seconds.
Rubric 20 points
Each section will get 15 points individually and then 5 points as a group with the game together. (5 points games works perfectly, all pieces mesh properly)
Tic Tac Toe (15 points)
random start (1 point)
flow of game (8 points)
draws Board each time (1 point)
tells whos turn (1 point)
switches between user and comp properly (1point)
waits after comps turn
checks game status each time (1 point)
stops game and resets if game over (1 point)
tells who won (1 point)
deals w/ invalid moves correctly (1point)
score updates correctly (1 point)
score shows on screen (1 point)
code clear and indented and names properly (2 point)
code commented - each section clearly labelled as its purpose - (2 point)
AI class (15 points)
makes 1 move when called (2 points)
check for win, then block, then progression, then random (2 point each)
code clear and indented and names properly (2 point)
code commented - each section clearly labelled as its purpose - (3 point)
Board Class (15 points)
draws Board nicely - looks good (5 points)
x,o in right spot (1 points)
grid clear (1 point)
looks good (3 points)
game status returned correctly (3 points)
makeXMove makes the x move in correct location (3 points)
code clear and indented and names properly (2 point)
code commented - each section clearly labelled as its purpose - (2 point)