This article needs additional citations for verification. (December 2009) |
Tatamibari (Japanese: タタミバリ) is a type of logic puzzle designed and published by Nikoli. The puzzle is based on Japanese tatami mats.
Rules
editA 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
editThe problem of finding a solution to a particular Tatamibari configuration is NP-complete.[2]
See also
editReferences
edit- ^ "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].