Computers and Technology
Computers and Technology, 26.09.2021 16:40, lil2524

Write a function named "get_winer" that determines who has won a game of tic-tac-toe. The function should first check all rows to see whether one player occupies all the cells in one row, next check all columns, and then check the two diagonals. The function takes a two dimensional character array which represents the state of the game (filled with 'O' and 'X') and returns 0 or 1 or 2 ( 0 for draw, 1 for player one ('O') wins and 2 for player 2 ('X') wins) (Using C program)

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 12:00, xojade
Which of these is an example of an integrated presentation? a. a table created in powerpoint b. an image pasted into powerpoint c. a caption created in powerpoint d. an excel chart pasted into powerpoint
Answers: 1
image
Computers and Technology, 23.06.2019 21:00, shyshy1791
Which set of steps will organize the data to only show foods with more than 100 calories and rank their sugar content from greatest to least?
Answers: 1
image
Computers and Technology, 24.06.2019 03:00, paguy12
What is one potential problem associated with an organization purchasing new technology early in its lifecycle
Answers: 1
image
Computers and Technology, 24.06.2019 19:30, hermine40
Which phrase is the best definition of a pivottable a a table containing data that is organized horizontally b a table used to calculate financial pivot values c a tool used to summarize data d a table containing specific formatting
Answers: 1
Do you know the correct answer?
Write a function named "get_winer" that determines who has won a game of tic-tac-toe. The function s...

Questions in other subjects:

Konu
Mathematics, 23.11.2020 18:10
Konu
Mathematics, 23.11.2020 18:10
Konu
Mathematics, 23.11.2020 18:10
Konu
Mathematics, 23.11.2020 18:10