subject
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)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:30
By refraining from constructing a building until they are certain that it will not cause harm to the environment, an organization is adhering to the
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
To check whether your writing is clear , you can
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Idon’t understand the double8 coding problem. it is java
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
The song about casey jones a railroad engineer who gives his life on the job would most likely gall under the folk song category of? a-work song b-nonsense song c-religious song d-ballad
Answers: 1
You know the right answer?
Write a function named "get_winer" that determines who has won a game of tic-tac-toe. The function s...
Questions
question
Mathematics, 05.05.2020 18:14
question
Mathematics, 05.05.2020 18:14
question
Physics, 05.05.2020 18:14
question
Mathematics, 05.05.2020 18:14
question
Mathematics, 05.05.2020 18:14
Questions on the website: 13722362