Computational Complexity of Swish
Takashi Horiyama, Takehiro Ito, Jun Kawahara, Shin-ichi Minato, Akira Suzuki, Ryuhei Uehara, Yutaro Yamaguchi

TL;DR
This paper determines the computational complexity of the original Swish game, proving it NP-complete with two symbols per card under certain transformations, and polynomial-time solvable without transformations.
Contribution
It resolves the open case of two symbols per card in Swish, establishing NP-completeness under specific transformations and polynomial-time solvability otherwise.
Findings
Swish is NP-complete with two symbols per card when transformations are restricted.
Swish is solvable in polynomial time when no transformations are allowed.
Complete complexity classification of Swish based on symbols per card and transformations.
Abstract
Swish is a card game in which players are given cards having symbols (hoops and balls), and find a valid superposition of cards, called a "swish." Dailly, Lafourcade, and Marcadet (FUN 2024) studied a generalized version of Swish and showed that the problem is solvable in polynomial time with one symbol per card, while it is NP-complete with three or more symbols per card. In this paper, we resolve the previously open case of two symbols per card, which corresponds to the original game. We show that Swish is NP-complete for this case. Specifically, we prove the NP-hardness when the allowed transformations of cards are restricted to a single (horizontal or vertical) flip or 180-degree rotation, and extend the results to the original setting allowing all three transformations. In contrast, when neither transformation is allowed, we present a polynomial-time algorithm. Combining known and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsArtificial Intelligence in Games · Game Theory and Applications · Complexity and Algorithms in Graphs
