Instance accessors generate new quadrille
instances derived from the original. These methods allow you to create modified versions while preserving the original quadrille’s state:
- clone(): Creates a shallow copy of the quadrille.
- row(row): Creates a new quadrille containing only the specified
row
. - ring(row, col, dimension): Creates a new quadrille representing a ring of cells around the specified
row
andcol
with the givendimension
.