The creation of Tic-Tac-Toe game using the C/C++ language, includes full code of the actual program

View Paper
ESSAY DETAILS Words: 3246
Pages: 12
(approximately 235 words/page)

Essay Database > Science & Technology > Computers and Cybernetics
Introduction This is the final report showing all the work put into Mark Smith and Trevor Snaith's noughts and crosses program, for this semesters work. The report includes the aims throughout the project, which is to produce a noughts and crosses programme in "C", the problems which we encountered during writing the program and how we solved them. It shows the results of our noughts and crosses program including some printout from the program and …

showed first 75 words of 3246 total
Sign up for EssayTask and enjoy a huge collection of student essays, term papers and research papers. Improve your grade with our unique database!
showed last 75 words of 3246 total
…playerone); } }                   return 0;         } int check_draw () { if((grid[0][0]==('X')|| grid [0][0]==('O')) && (grid[0][1]==('X') || grid [0][1]==('O')) && (grid[0][2]==('X') || grid [0][2]==('O')) &&(grid[1][0]==('X')|| grid [1][0]==('O')) && (grid[1][1]==('X') || grid [1][1]==('O')) && (grid[1][2]==('X') || grid [1][2]==('O')) && (grid[2][0]==('X')|| grid [2][0]==('O')) && (grid[2][1]==('X') || grid [2][1]==('O')) && (grid[2][2]==('X') || grid [2][2]==('O')))                  DRAW=1;         else                  DRAW=0; {         if (DRAW==1)         {          printf ("nnnnn");          display_board ();          printf ("nSorry the game is a draw.");         } }         return 0;         }