为什么 Stockfish 如此优秀(以及如何编写一个国际象棋引擎)
📄 中文摘要
Stockfish 18 的国际象棋水平达到了 3759 Elo,远超历史上最强的棋手。作为一个开源项目,Stockfish 使用约 50,000 行 C++ 代码编写,能够在任何笔记本电脑上运行。现代国际象棋引擎的工作原理以及 NNUE 神经网络如何改变了这一领域的格局是关键内容。此外,文章还探讨了如果想要自己构建一个国际象棋引擎,应该做出的设计决策。当前,全球前十的国际象棋引擎均为开源,标志着专有时代的结束。根据 CCRL(国际象棋计算机评级列表)40/15 时间控制,2025 年的引擎排名显示了这一趋势。
📄 English Summary
Why Stockfish is So Good (and How You Could Write a Chess Engine)
Stockfish 18 plays chess at an impressive 3759 Elo, surpassing the strongest human players in history. As an open-source project, it is written in approximately 50,000 lines of C++ and can run on any laptop. The article highlights how modern chess engines operate and how NNUE neural networks have transformed the landscape. Additionally, it discusses the design decisions one would need to consider when building a chess engine from scratch. Notably, all engines in the current top ten worldwide are open-source, marking the end of the proprietary era. The 2025 rankings on the CCRL (Chess Computer Rating List) 40/15 time control reflect this trend.
Powered by Cloudflare Workers + Payload CMS + Claude 3.5
数据源: OpenAI, Google AI, DeepMind, AWS ML Blog, HuggingFace 等