gamma032steam / Not-So-Magic-Squares

Solves a 2D number puzzle, similar to Sudoku and Magic Squares.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not-So-Magic-Squares

Solves a 2D number puzzle, similar to Sudoku and Magic Squares. For Declarative Programming, Semester 2 2019 @ Unimelb.

Uses Prolog's constraint programming library, CLPFD. The algorithm defines the solution space, removes impossible solutions based on the game rules and then generates-and-tests to find the answer.

About

Solves a 2D number puzzle, similar to Sudoku and Magic Squares.


Languages

Language:Prolog 100.0%