Tatamibari (Japanese: タタミバリ) is a type of logic puzzle designed and published by Nikoli. The puzzle is based on Japanese tatami mats.
Rules
A Tatamibari puzzle is played on a rectangular grid with three different kinds of symbols in it: +, -. and |. The solver must partition the grid into rectangular or square regions according to the following rules:[1]
- Every partition must contain exactly one symbol in it.
- A + symbol must be contained in a square.
- A | symbol must be contained in a rectangle with a greater height than width.
- A - symbol must be contained in a rectangle with a greater width than height.
- Four pieces may never share the same corner.
Computational complexity
The problem of finding a solution to a particular Tatamibari configuration is NP-complete.[2]
See also
References
- ↑ "Tatamibari rules and example". Retrieved May 16, 2011.
- ↑ Adler, Aviv; Bosboom, Jeffrey; Demaine, Erik D.; Demaine, Martin L.; Liu, Quanquan C.; Lynch, Jayson (7 May 2020). "Tatamibari is NP-complete". arXiv:2003.08331 [cs.CC].
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.