TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Conway's Game of Chess

80 点作者 elesiuta超过 1 年前
Chess, but each square also follows the rules of Conway&#x27;s Game of Life.<p>Only your own pieces count as neighbours when deciding births&#x2F;deaths.<p>For births, an empty square must have 3 neighbours for 2 consecutive turns.<p>For deaths, a piece must have &lt;2 or &gt;3 neighbours for 3 consecutive turns.<p>This is a simple proof of concept I made with python and curses.<p>You can play with a friend locally or over a socket connection.<p>Controls: Arrow keys to move the cursor, enter&#x2F;space to select and move a piece, u or backspace to undo a move, r to redo a move, q or escape to quit, s to perform a move with stockfish if installed (useless since it has no knowledge of this variant), any other key to unselect a currently selected piece.

7 条评论

raldi超过 1 年前
This would really benefit from a few screenshots.
评论 #37552779 未加载
cypherpunks01超过 1 年前
I was just thinking of this concept except for Go instead of chess. Has anyone done this or have thoughts on how it could work?
评论 #37556143 未加载
评论 #37551988 未加载
ddxv超过 1 年前
Super fun idea!<p>I played a few games with myself, but noticed that the &quot;Game over&quot; message does not stop the game? Is it supposed to keep going after the king dies?<p>Also, I think some kind of legend would be very helpful. I was unsure what the lettering system meant, &quot;w&quot;, &quot;l&quot;, and &quot;o&quot;. I get they are related to the rules, but was unsure what. I see in the code you have an epilog text, but I never saw that displayed when running the game, I think it would be helpful to see it while playing.<p>Finally, what rule dictates which pieces are born?
评论 #37553068 未加载
评论 #37551202 未加载
alexander2002超过 1 年前
Can you fork lichess from github and publish the variant if it possible. Several sites already exist on this basis (PyChess, Lidraughts, LiShogi).
评论 #37551417 未加载
zzo38computer超过 1 年前
Wouldn&#x27;t it be better to use the chess notation, to enter the letters and numbers for which file and which rank you want, instead of having to move the cursor by arrows?
评论 #37551874 未加载
User23超过 1 年前
I started reading this hoping for an ONAG representation of Chess.<p>Still pretty cool though!
gorenb超过 1 年前
This is a wonderful idea! Will work on this for Rust at some point.