Question: Insert instructions for column Insert instructions for diagonals NEW YORK CITY 2 COLLEGE OF TECHNOLOGY et The City University ot New York PLAYING THE TIC
NEW YORK CITY 2 COLLEGE OF TECHNOLOGY et The City University ot New York PLAYING THE TIC TAC TOE Making a CheckWinn Function CheckWinner (PLAYER) If (Board(1,1)- PLAYER AND Board(1,2)PLAYER AND Board(1,3)PLAYER) OR (Board(2,1)= PLAYER AND Board(2,2)= PLAYER AND Board(2,3,-PLAYER ) XI X OR (Board(3,1)= PLAYER AND Board(3,2)= PLAYER AND Board(3,3)= PLAYER ) return "YES else return "NO" Insert instructions for columns Insert instructions for diagonals
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
