土耳其总统呼吁尽早结束伊朗战事

· · 来源:dev百科

What happens when you ask a 2026 coding agent like Claude Code to build a chess engine from scratch (with no plan, no architecture document, no step-by-step guidance) in a language that was never designed for this purpose? Building a chess engine is a non-trivial software engineering challenge: it involves board representation, move generation with dozens of special rules (castling, en passant, promotion), recursive tree search with pruning, evaluation heuristics, as well as a way to assess engine correctness and performance, including Elo rating. Doing it from scratch, with minimal human guidance, is a serious test of what coding agents can do today. Doing it in LaTeX’s macro language, which has no arrays, no functions with return values, no convenient local variables or stack frames, and no built-in support for complex data structures or algorithms? More than that, as far as I can tell, it has never been done before (I could not find any existing TeX chess engine on CTAN, GitHub, or TeX.SE). Yet, the coding agent built a functional chess engine in pure TeX that runs on pdflatex and reaches around 1280 Elo (the level of a casual tournament player). This post dives deep into how this engine, called TeXCCChess, works, the TeX-specific challenges encountered during development. You can play against it in Overleaf (see demo https://youtu.be/ngHMozcyfeY) or your local TeX installation https://youtu.be/Tg4r_bu0ANY, while the source code is available on GitHub https://github.com/acherm/agentic-chessengine-latex-TeXCCChess/

Семейная ипотека на покупку квартир на вторичном рынке может начать действовать уже в 2026 году, заявил заместитель председателя комитета Госдумы по строительству и ЖКХ Александр Аксененко. Об этом пишет «Газета.ру».。关于这个话题,新收录的资料提供了深入分析

「夢境工程」讓我們更

“陕北的水越来越清了,山越来越绿了!”全国政协委员、水利部黄河水利委员会原主任岳中明说。他关注黄河中上游地区水土流失问题多年,见证了陕西等地着力改善生态、保持水土的行动和成果。。业内人士推荐新收录的资料作为进阶阅读

Архивное фото. Фото: Steve Lynes / Wikimedia。新收录的资料对此有专业解读

Россиянка

人 民 网 版 权 所 有 ,未 经 书 面 授 权 禁 止 使 用

分享本文:微信 · 微博 · QQ · 豆瓣 · 知乎