Cody

Problem 3033. Tic-Tac-Logic - Solution Checker

Created by goc3 in Community

Tic-Tac-Logic is a logic puzzle wherein a rectangular grid containing a certain set of pre-filled squares must be filled in completely to have no more than two consecutive X's or O's in any row or column. Also, the number of X's and O's must be the same in every row and column (equal to half the size of the row or column). Finally, all rows must be unique (compared to other rows) and all columns must be unique (compared to other columns).

An example puzzle from Conceptis is included here, wherein the first board represents the starting condition and the second board represents a properly solved board:

You will be provided with a variety of completed boards. X's are represented by ones and O's by zeros. Write a function to test whether the board has been properly solved. Remember to check against all three criteria.

Solution Stats

60.0% Correct | 40.0% Incorrect
Last solution submitted on Apr 14, 2019

Problem Comments