宝石迷阵,糖果粉碎和其他匹配三个游戏是(NP -)硬
Bejeweled, Candy Crush and other Match-Three Games are (NP-)Hard
摘要:
20世纪出现了一种新型的视频游戏,其目标受众是“休闲”游戏玩家。这些游戏中的许多游戏要求玩家交换物品以形成三人比赛,并且统称为\emph{tile-matching match-three games}。其中,最有影响力的一个可以说是\emph{Bejeweled},其中匹配的项目(宝石)流行和上述宝石落在他们的位置。宝石迷阵已经被移植到许多不同的平台,并影响了令人难以置信的数量类似的游戏。最近,其中一个名为\emph{Candy Crush Saga}的游戏大受欢迎,并迅速在社交网络上传播开来。我们通过只参数化棋盘的大小来推广这类游戏,而所有其他元素(如规则或宝石的数量)保持不变。然后,我们证明,回答许多自然的问题,这些游戏实际上是\NP -硬。这些问题包括确定玩家是否能达到一定的分数,玩一定数量的回合,等等。我们还\href{http://candycrush.isnphard.com}{provide}一个可玩的基于Web的实现我们的减少。
英文摘要:
The twentieth century has seen the rise of a new type of video games targeted at a mass audience of "casual" gamers. Many of these games require the player to swap items in order to form matches of three and are collectively known as \emph{tile-matching match-three games}. Among these, the most influential one is arguably \emph{Bejeweled} in which the matched items (gems) pop and the above gems fall in their place. Bejeweled has been ported to many different platforms and influenced an incredible number of similar games. Very recently one of them, named \emph{Candy Crush Saga} enjoyed a huge popularity and quickly went viral on social networks. We generalize this kind of games by only parameterizing the size of the board, while all the other elements (such as the rules or the number of gems) remain unchanged. Then, we prove that answering many natural questions regarding such games is actually \NP-Hard. These questions include determining if the player can reach a certain score, play for a certain number of turns, and others. We also \href{http://candycrush.isnphard.com}{provide} a playable web-based implementation of our reduction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。