计算机科学 > 计算复杂性
[提交于 2001年7月21日]
标题:The Complexity of Clickomania
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We study a popular puzzle game known variously as Clickomania and Same Game. Basically, a rectangular grid of blocks is initially colored with some number of colors, and the player repeatedly removes a chosen connected monochromatic group of at least two square blocks, and any blocks above it fall down. We show that one-column puzzles can be solved, i.e., the maximum possible number of blocks can be removed, in linear time for two colors, and in polynomial time for an arbitrary number of colors. On the other hand, deciding whether a puzzle is solvable (all blocks can be removed) is NP-complete for two columns and five colors, or five columns and three colors.
提交历史
来自:Erik Demaine[v1] 2001年7月21日 星期六 14:55:20 UTC