Binary, also known as Takuzu, is a logic puzzle with simple rules and challenging solutions.
Rules are simple. Binary is played in a rectangle grid without a standard size. Some boxes start filled with zeros and ones. The remaining boxes are empty. The objective is put zeros or ones in every box such that:
- Each row and each column contain same amount of zeros and ones.
- More than two equal numbers are not adjacents.
- Each row and column is unique.
The following solution is based on having a square grid (every side measures the same). Also there are only the strategies thought by its developer. The program doesn't make its own rules.
Install Go and execute this in the root directory of the project:
go run main.go