Chess is hard even for a single player

IF 0.9 4区 计算机科学 Q3 COMPUTER SCIENCE, THEORY & METHODS Theoretical Computer Science Pub Date : 2024-07-23 DOI:10.1016/j.tcs.2024.114726
{"title":"Chess is hard even for a single player","authors":"","doi":"10.1016/j.tcs.2024.114726","DOIUrl":null,"url":null,"abstract":"<div><p>We introduce a generalization of “Solo Chess”, a single-player variant of the game that can be played on chess.com. The standard version of the game is played on a regular 8 × 8 chessboard by a single player, with only white pieces, using the following rules: every move must capture a piece, no piece may capture more than 2 times, and if there is a King on the board, it must be the final piece. The goal is to clear the board, i.e., make a sequence of captures after which only one piece is left.</p><p>We generalize this game to unbounded boards with <em>n</em> pieces, each of which have a given number of captures that they are permitted to make. We show that <span>Generalized Solo Chess</span> is <span>NP</span>-complete, even when it is played by only rooks that have at most two captures remaining. It also turns out to be <span>NP</span>-complete even when every piece is a queen with exactly two captures remaining in the initial configuration. In contrast, we show that solvable instances of <span>Generalized Solo Chess</span> can be completely characterized when the game is: a) played by rooks on a one-dimensional board, and b) played by pawns with two captures left on a 2D board.</p><p>Inspired by <span>Generalized Solo Chess</span>, we also introduce the <span>Graph Capture Game</span>, which involves clearing a graph of tokens via captures along edges. This game subsumes <span>Generalized Solo Chess</span> played by knights. We show that the <span>Graph Capture Game</span> is <span>NP</span>-complete for undirected graphs and DAGs.</p></div>","PeriodicalId":49438,"journal":{"name":"Theoretical Computer Science","volume":null,"pages":null},"PeriodicalIF":0.9000,"publicationDate":"2024-07-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Theoretical Computer Science","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0304397524003438","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

We introduce a generalization of “Solo Chess”, a single-player variant of the game that can be played on chess.com. The standard version of the game is played on a regular 8 × 8 chessboard by a single player, with only white pieces, using the following rules: every move must capture a piece, no piece may capture more than 2 times, and if there is a King on the board, it must be the final piece. The goal is to clear the board, i.e., make a sequence of captures after which only one piece is left.

We generalize this game to unbounded boards with n pieces, each of which have a given number of captures that they are permitted to make. We show that Generalized Solo Chess is NP-complete, even when it is played by only rooks that have at most two captures remaining. It also turns out to be NP-complete even when every piece is a queen with exactly two captures remaining in the initial configuration. In contrast, we show that solvable instances of Generalized Solo Chess can be completely characterized when the game is: a) played by rooks on a one-dimensional board, and b) played by pawns with two captures left on a 2D board.

Inspired by Generalized Solo Chess, we also introduce the Graph Capture Game, which involves clearing a graph of tokens via captures along edges. This game subsumes Generalized Solo Chess played by knights. We show that the Graph Capture Game is NP-complete for undirected graphs and DAGs.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
单人下棋也很难
我们介绍了 "单人象棋 "的一般化,这是一种可在国际象棋网站(chess.com)上进行的单人游戏变体。该游戏的标准版本是在一个普通的 8 × 8 棋盘上由单人下棋,只有白棋,规则如下:每步棋都必须吃掉一个棋子,任何棋子都不得吃掉超过 2 次,如果棋盘上有王,它必须是最后一个棋子。我们将这个游戏推广到有 n 个棋子的无界棋盘,每个棋子都有一定的吃子次数。我们证明了广义独子棋是 NP-完全的,即使只剩下最多两次吃子的车也是如此。即使在初始配置中每个棋子都是皇后,并且只剩下两次吃子,它也是 NP-complete。与此相反,我们证明了广义独步棋的可解实例可以在以下情况下被完全表征:a)车在一维棋盘上下棋;b)兵在二维棋盘上下棋,且还有两个吃子。受广义独步棋的启发,我们还引入了图捕捉博弈,它涉及通过沿边的吃子清除图中的标记。这个棋局包含了由骑士下的广义单人棋。我们证明,对于无向图和 DAG 来说,图捕捉游戏是 NP-完全的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Theoretical Computer Science
Theoretical Computer Science 工程技术-计算机:理论方法
CiteScore
2.60
自引率
18.20%
发文量
471
审稿时长
12.6 months
期刊介绍: Theoretical Computer Science is mathematical and abstract in spirit, but it derives its motivation from practical and everyday computation. Its aim is to understand the nature of computation and, as a consequence of this understanding, provide more efficient methodologies. All papers introducing or studying mathematical, logic and formal concepts and methods are welcome, provided that their motivation is clearly drawn from the field of computing.
期刊最新文献
Editorial Board Finding and counting small tournaments in large tournaments Truthful two-facility location with candidate locations Path partitions of phylogenetic networks On the existence of funneled orientations for classes of rooted phylogenetic networks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1