Question: Using C to solve this question Description Gomoku, also called Five in a Row, is an abstract strategy board game. It is traditionally played with
Using C to solve this question
Description
Gomoku, also called Five in a Row, is an abstract strategy board game. It is traditionally played with black and white stones on a 1919 board.The winner is the first player to form an unbroken chain of five stones horizontally, vertically, or diagonally. Please write a program to determine if there is a winner or not.
Input
Input content 19 line, each line content 19 character and a new line
O represent white stone, X represent black stone and _ means there is no stone on that spot.
Output
Output "White" if white win, "Black" if black win, "No winner" if no one win.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
