GO Solution For UVa 10363 - Tic Tac Toe. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

Tic Tac Toe is a child’s game played on a 3 by 3 grid. One player, X, starts by placing an ‘X’ at an unoccupied grid position. Then the other player, O, places an ‘O’ at an unoccupied grid position. Play alternates between X and O until the grid is filled or one player’s symbols occupy an entire lin

...

You can find the full details of the problem Tic Tac Toe at UVa Online Judge

Sample Input

2
X.O
OO.
XXX

O.X
XX.
OOO

Sample Output

yes
no

Solution: Please check the main.go snippet for the solution.

Solution originally posted at: Github by @codingsince1985