A couple of days ago somebody sent me an e-mail asking if I could write a program that generates binary puzzles. I didn't know what binary puzzles were, but a search in google quickly led me to this site. Apparently, the "Binary" is a new kind of logic puzzle that involves only the numbers zero and one. The goal is to fill in the grid with zeros and ones with the following restrictions:
- There are as many zeros as ones in every row and every column.
- No more than two of the same numbers can be next to or under each other.
- Rows or columns with the same content are not allowed.