I've been thinking about an algorithm for solving small puzzles. I found different algortihms on the internet and on stackoverflow but they do not meet my needs in some points:
- My puzzle pieces are in one color, there is no image/pattern/... on them
- Every edge of a part can be one of 8 options, similar to them on the picture (you can describe the parts as ABCD, cdab, cBBb, ADcb for example); there are no more complicated structures or anything like that
- The puzzles I want to solve are not to big, there are no ones bigger than 8x8
- The corner/egde pieces have no specific edges, the result will just not be a clean rectangle
- Not all my puzzles are solvable
- The parts can be rotated but not turned
- Every puzzle part is unique
