跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.40233 · v1

Cal's Favourite Game Is NP-Hard: On the Hardness of Tenebrae Lux's Sliding Puzzles

首次提交 2026-11-30 09:08
版本更新 2026-11-30 09:08
雷达观测 2026-12-01 13:26
arXiv ↗PDF ↗

摘要

We study the computational complexity of a generalised version of the minigame Tenebrae Lux, featured in Grand Theft Auto VI. An instance of Tenebrae Lux consists of an h×wh \times w board whose cells are either empty or contain a pyramid, a stack, or a flat. Initially, no pyramid is orthogonally adjacent to a stack or a flat. A move selects a pyramid or stack and slides it in a cardinal direction through consecutive empty cells until it reaches the board boundary or stops immediately before another piece. Each move must change the selected piece's position. At its destination, a moved pyramid destroys all orthogonally adjacent stacks and flats, and is itself destroyed if it destroyed a stack. A moved stack destroys all orthogonally adjacent pyramids, and is itself destroyed if it destroyed a pyramid. Flats cannot move. Tenebrae Lux asks whether there exists a finite sequence of moves that empties all cells; we call such a sequence clearing. We show that this problem is NP-hard, even on boards with exactly one pyramid and one stack, via a reduction from Hamiltonian Cycle on simple 2-out-regular directed graphs. Since solvable boards with a bounded number of movable pieces admit clearing sequences of polynomial length, this restriction is in fact NP-complete. In general, the problem lies in PSPACE, and it is solvable in polynomial time when the total number of pieces is bounded. We further show that there always exists a clearing sequence when there are no flats and the numbers of pyramids and stacks are equal; our proof is constructive and yields a clearing sequence of at most k(w+2)k(w+2) moves in polynomial time, where kk is the number of pyramids.

作者备注:15 pages, 7 figures, 1 table

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-30 09:08 · 最新观测版本

Cal's Favourite Game Is NP-Hard: On the Hardness of Tenebrae Lux's Sliding Puzzles

We study the computational complexity of a generalised version of the minigame Tenebrae Lux, featured in Grand Theft Auto VI. An instance of Tenebrae Lux consists of an h×wh \times w board whose cells are either empty or contain a pyramid, a stack, or a flat. Initially, no pyramid is orthogonally adjacent to a stack or a flat. A move selects a pyramid or stack and slides it in a cardinal direction through consecutive empty cells until it reaches the board boundary or stops immediately before another piece. Each move must change the selected piece's position. At its destination, a moved pyramid destroys all orthogonally adjacent stacks and flats, and is itself destroyed if it destroyed a stack. A moved stack destroys all orthogonally adjacent pyramids, and is itself destroyed if it destroyed a pyramid. Flats cannot move. Tenebrae Lux asks whether there exists a finite sequence of moves that empties all cells; we call such a sequence clearing. We show that this problem is NP-hard, even on boards with exactly one pyramid and one stack, via a reduction from Hamiltonian Cycle on simple 2-out-regular directed graphs. Since solvable boards with a bounded number of movable pieces admit clearing sequences of polynomial length, this restriction is in fact NP-complete. In general, the problem lies in PSPACE, and it is solvable in polynomial time when the total number of pieces is bounded. We further show that there always exists a clearing sequence when there are no flats and the numbers of pyramids and stacks are equal; our proof is constructive and yields a clearing sequence of at most k(w+2)k(w+2) moves in polynomial time, where kk is the number of pyramids.

查看此版本解读 →查看此版本原文 ↗