Factored out common configuration code from SlantPuzzle to Puzzle