Two Dots is NP-complete
نویسنده
چکیده
Two Dots is a popular single-player puzzle video game for iOS and Android. In its simplest form, the game consists of a board with dots of different colors, and a valid move consists of connecting a sequence of adjacent dots of the same color. We say that dots engaged in a move are “hit” by the player. After every move, the connected dots disappear, and the void is filled by new dots (the entire board shifts downwards and new dots appear on top). Typically the game provides a limited number of moves and varying goals (such as hitting a required number of dots of a particular color). We show that the perfect information version of the game (where the sequence of incoming dots is known) is NP-complete, even for fairly restricted goal types. 1998 ACM Subject Classification F.2 Analysis Of Algorithms And Problem Complexity
منابع مشابه
Kaboozle Is NP-complete, Even in a Strip
Kaboozle is a puzzle consisting of several square cards, each annotated with colored paths and dots drawn on both sides and holes drilled. The goal is to join two colored dots with paths of the same color (and fill all holes) by stacking the cards suitably. The freedoms here are to reflect, rotate, and order the cards arbitrarily, so it is not surprising that the problem is NP-complete (as we s...
متن کاملSolving Infinite Kolam in Knot Theory
In southern India, there are traditional patterns of line-drawings encircling dots, called “Kolam”, among which one-line drawings or the “infinite Kolam” provide very interesting questions in mathematics. For example, we address the following simple question: how many patterns of infinite Kolam can we draw for a given grid pattern of dots? The simplest way is to draw possible patterns of Kolam ...
متن کاملTenacity and some other Parameters of Interval Graphs can be computed in polynomial time
In general, computation of graph vulnerability parameters is NP-complete. In past, some algorithms were introduced to prove that computation of toughness, scattering number, integrity and weighted integrity parameters of interval graphs are polynomial. In this paper, two different vulnerability parameters of graphs, tenacity and rupture degree are defined. In general, computing the tenacity o...
متن کاملNP in BQP with Nonlinearity
If one modifies the laws of Quantum Mechanics to allow nonlinear evolution of quantum states, this paper shows that NP-complete problems would be efficiently solvable in polynomial time with bounded probability (NP in BQP). With that (admittedly very unlikely) assumption, this is demonstrated by describing a polynomially large network of quantum gates that solves the 3SAT problem with bounded p...
متن کاملSynthesis of Au NP@MoS2 Quantum Dots Core@Shell Nanocomposites for SERS Bio-Analysis and Label-Free Bio-Imaging
In this work, we report a facile method using MoS₂ quantum dots (QDs) as reducers to directly react with HAuCl₄ for the synthesis of Au nanoparticle@MoS₂ quantum dots (Au NP@MoS₂ QDs) core@shell nanocomposites with an ultrathin shell of ca. 1 nm. The prepared Au NP@MoS₂ QDs reveal high surface enhanced Raman scattering (SERS) performance regarding sensitivity as well as the satisfactory SERS re...
متن کامل