Skip to content

RRTogunov/puzzles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atempt to design jigsaw with 2 unique combinations as per Matt Parker's latest video 'How can a jigsaw have two distinct solutions?' Code generates a grid, shuffles position/orientation of pieces (maintaining proper edge/corner orientation), then identifies piece edges that must match. Code doesn't achieve the desired goal of having only two unique combinations (doesn't even check for alternate combination) becaues a unique edge shape can propegate across many edges. For example, if one edge is shared 1:2 in one arrangement and 1:9 in the second arrangement, that edge must also be the same between 2:x, and y:9, which must also be shared between x:A, and B:y).

About

Design jigsaw puzzle with multiple solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages