Skip to content

Instantly share code, notes, and snippets.

View Bhlowe's full-sized avatar

Bhlowe

  • 94507
View GitHub Profile
@Bhlowe
Bhlowe / ScrambleSqures.java
Created January 19, 2018 21:12
Solve and create 3x3 "scramble squares" puzzles using java.
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