Tatamibari (Japanese: タタミバリ) is a type of logic puzzle designed and published by Nikoli. The puzzle is based on Japanese tatami mats.
![](https://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/Tatamibari_puzzle.png/220px-Tatamibari_puzzle.png)
![](https://upload.wikimedia.org/wikipedia/commons/thumb/c/c4/Tatamibari_puzzle_solved.png/220px-Tatamibari_puzzle_solved.png)
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].