Rectangular Spiral Galaxies are Still Hard

Spiral Galaxies is a pencil-and-paper puzzle played on a grid of unit squares: given a set of points called centers, the goal is to partition the grid into polyominoes such that each polyomino contains exactly one center and is 180◦ rotationally symmetric about its center. We show that this puzzle is NP-complete even if the polyominoes are restricted to be (a) rectangles of arbitrary size or (b) 1×1, 1×3, and 3×1 rectangles. The proof for the latter variant also implies NP-completeness of finding a non-crossing matching in modified grid graphs where edges connect vertices of distance 2. Moreover, we prove NP-completeness of the design problem of minimizing the number of centers such that there exist a set of Spiral Galaxies that exactly cover a given shape.

[1]  Vijay V. Vazirani,et al.  Approximation Algorithms , 2001, Springer Berlin Heidelberg.

[2]  T. Yato,et al.  Complexity and Completeness of Finding Another Solution and Its Application to Puzzles , 2003, IEICE Trans. Fundam. Electron. Commun. Comput. Sci..

[3]  Martin E. Dyer,et al.  Planar 3DM is NP-Complete , 1986, J. Algorithms.

[4]  Christian Komusiewicz,et al.  Towards an algorithmic guide to Spiral Galaxies , 2014, Theor. Comput. Sci..

[5]  E. Stetson Spiral Galaxies Puzzles are NP-complete , 2002 .

[6]  Erik D. Demaine,et al.  SPIRAL GALAXIES FONT , 2019, The Mathematics of Various Entertaining Subjects.

[7]  F. Combes Spiral Galaxies , 2023, Galaxies.

[8]  N. Ueda,et al.  NP-completeness Results for NONOGRAM via Parsimonious Reductions , 1996 .