A solver for Masyu Puzzles. The goal of this project is to make masyu solver using restriction-based algorithm.
Python 3 (tested on python 3.7) OpenCV for python 3
python masyu.py --image <input-file> --size <board-size>
or
python masyu.py -i <input-file> -s <board-size>
image example:
input1.png
input2.png
- no need to refer size of board
- input from stdin
- finish recursive backtracking algorithm after global restriction on board
I made this solver to fulfill IF2120 Discrete Mathematics subject.