Buttons & Scissors is NP-Complete
暂无分享,去创建一个
Buttons & Scissors is a popular single-player puzzle. A level is played on an n-by-n grid, where each position is empty or has a single coloured button sewn onto it. The player’s goal is to remove all of the buttons using a sequence of horizontal, vertical, and diagonal scissor cuts. Each cut removes all buttons between two distinct buttons of the same colour, and is not valid if there is an intermediate button of a different colour. We prove that deciding whether a given level can be completed is NP-complete. In fact, NP-completeness holds when only horizontal and vertical cuts are allowed, and each colour is used by at most 7 buttons. Our framework was also used in an NP-completeness proof when each colour is used by at most 4 buttons, which is best possible.
[1] Adam Hesterberg,et al. Single-Player and Two-Player Buttons & Scissors Games - (Extended Abstract) , 2015, JCDCGG.
[2] Richard M. Karp,et al. Reducibility Among Combinatorial Problems , 1972, 50 Years of Integer Programming.