This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Collections; | |
import java.util.List; | |
// create and solve 3x3 scramble square puzzles. | |
// tiles are squares, are arranged in 3x3 grid. | |
// each tile has 4 pictures, one per side. | |
// Each picture is either a "head" or "tail" (bottom or top half of picture) | |
// There are typically 4 pictures, represented by AaBbCcDd |