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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Play against well-known chess players' openings

5 点作者 berinateni超过 2 年前
Hi, this is my first HN submission so please forgive the rough edges.<p>For this project gathered chess positions from some well-known chess players with a lot of games. (Usually ~25k games and 1M+ positions. The most for any player was GM Aman Hambleton with 1.8M positions indexed.)<p>With each board position I create a probability distribution of moves the player has made from that position. Then, I simply draw from that distribution (with sampling temperature) to choose a move. As long as there&#x27;s at least one game with a given position, you can keep playing.<p>You&#x27;ll see that it&#x27;s pretty easy to get &quot;out of book&quot;, where you&#x27;ve reached a novel position. It is possible to indirectly model a player&#x27;s behavior throughout the game, so we can guess what moves a player might make in that position. But that&#x27;s a bit more than a weekend project and a bit more involved than a lookup table.

2 条评论

raydiatian超过 2 年前
You should add a Niemann opponent option that just reroutes users to the Twitter login page.
评论 #33229606 未加载
coolness超过 2 年前
Eric Rosen accepted my Stafford gambit! [1]<p>ps. Is there an option to play black?<p>[1] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=eIecRRl1cfc" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=eIecRRl1cfc</a>