Pablo Focke

Developper Python, C#, Java

User Tools

Site Tools


projects:boolean_sudoku

Binairo (Boolean Sudoku)

Languages :

  • Python
  • CNF SAT

Description :

Binairo is a sudoku-like game where the goal is to fill a grid with ones and zeros such that there are as much ones and zeros in every single row and column. Game grids start with already filled boxes, and some of them are unsolvable. Knowing which grids are solvable and which not is an NP-Complete problem for this reason the implemented program transforms a grid into a set of clauses (in CNF form) that is solved by a SAT solver.

Example

projects/boolean_sudoku.txt · Last modified: 2023/02/23 12:14 by 127.0.0.1