2 research outputs found
UNO Gets Easier for a Single Player
This work is a follow up to 2, FUN 2010], which initiated a detailed analysis of the popular game of UNO (R). We consider the solitaire version of the game, which was shown to be NP-complete. In 2], the authors also demonstrate a (O)(n)(c(2)) algorithm, where c is the number of colors across all the cards, which implies, in particular that the problem is polynomial time when the number of colors is a constant. In this work, we propose a kernelization algorithm, a consequence of which is that the problem is fixed-parameter tractable when the number of colors is treated as a parameter. This removes the exponential dependence on c and answers the question stated in 2] in the affirmative. We also introduce a natural and possibly more challenging version of UNO that we call ``All Or None UNO''. For this variant, we prove that even the single-player version is NP-complete, and we show a single-exponential FPT algorithm, along with a cubic kernel
The Computational Complexity of Some Games and Puzzles With Theoretical Applications
The subject of this thesis is the algorithmic properties of one- and two-player
games people enjoy playing, such as Sudoku or Chess. Questions asked about puzzles
and games in this context are of the following type: can we design efficient computer
programs that play optimally given any opponent (for a two-player game), or solve
any instance of the puzzle in question?
We examine four games and puzzles and show algorithmic as well as intractability
results. First, we study the wolf-goat-cabbage puzzle, where a man wants to transport
a wolf, a goat, and a cabbage across a river by using a boat that can carry only one
item at a time, making sure that no incompatible items are left alone together. We
study generalizations of this puzzle, showing a close connection with the Vertex
Cover problem that implies NP-hardness as well as inapproximability results.
Second, we study the SET game, a card game where the objective is to form
sets of cards that match in a certain sense using cards from a special deck. We
study single- and multi-round variations of this game and establish interesting con-
nections with other classical computational problems, such as Perfect Multi-
Dimensional Matching, Set Packing, Independent Edge Dominating Set,
and Arc Kayles. We prove algorithmic and hardness results in the classical and
the parameterized sense.
Third, we study the UNO game, a game of colored numbered cards where players
take turns discarding cards that match either in color or in number. We extend results
by Demaine et. al. (2010 and 2014) that connected one- and two-player generaliza-
tions of the game to Edge Hamiltonian Path and Generalized Geography,
proving that a solitaire version parameterized by the number of colors is fixed param-
eter tractable and that a k-player generalization for k greater or equal to 3 is PSPACE-hard.
Finally, we study the Scrabble game, a word game where players are trying to
form words in a crossword fashion by placing letter tiles on a grid board. We prove
that a generalized version of Scrabble is PSPACE-hard, answering a question posed
by Demaine and Hearn in 2008