Playing chess over IRC from Emacs, even against a bot

Anne Barela · 2026年11月30日

AI 摘要 AI 生成,可能有误

Andros Fenollosa explains how to play chess over IRC from within Emacs using the emacs-chess package, with moves sent as commands in private messages. He fixed the package's broken IRC support, added a chess-irc-engage function to challenge friends by nickname, and enabled in-game chat with opponents. He also built Stockfish-based bots at four difficulty levels, available via his chess-irc-bot GitHub repository.

Andros Fenollosa has written up how to play chess over IRC from inside Emacs, using the emacs-chess package. Moves are sent as commands in a private conversation. He runs ngircd, a small IRC server written in C.

The IRC part of emacs-chess was broken. He fixed it. He also added a chess-irc-engage function to challenge a friend by their nick. Pressing a key during a game opens a chat buffer for talking to the opponent.

He also built a bot to play against. It’s based on Stockfish, a free chess engine. His chess-irc-bot repository starts the server and four bot nicks, one per difficulty level.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Adafruit Blog

How do electrons move in a wire?

AI 摘要A beginner's Hackster demonstration shows that pressing a switch lights an LED instantly because the electric field propagates through the wire at nearly the speed of light, causing electrons all along the circuit to move at once. Individual electrons, however, drift very slowly—often less than a millimeter per second—as they collide with atoms and zig-zag toward the positive terminal. The article compares the wire to a conveyor belt already full of electrons, so the ones beside the LED enter it as soon as the belt starts moving.

Eight great programming books that are still must-reads

AI 摘要InfoWorld has highlighted eight programming books that remain must-reads, several of which are available free online. The list spans topics from building interpreters and learning Python to network programming, C, Git, and Lisp macros, and includes classics such as The Mythical Man-Month and Charles Petzold's Code.

Shard: pool compute and memory across Macs and Windows PCs over Ethernet to run bigger GGUF models locally with llama.cpp RPC

AI 摘要Maddie D. Reese has released shard on GitHub, a set of scripts that pool compute and memory across Macs and Windows PCs to run large GGUF models locally with llama.cpp RPC, with one machine coordinating while the others serve as workers. Machines connect via a gigabit switch with Cat6 cables and fixed addresses, with the model stored on the coordinator and workers receiving tensors when the model loads. In a demonstration, the setup answered 2 + 2 in 11 minutes and 51 seconds, and the code is MIT licensed.

Arcade Bonnet Controller #Adafruit Learn System

AI 摘要This guide explains how to wire a Mini Analog Joystick to the Adafruit Arcade Bonnet for Raspberry Pi. Arcade buttons connect to the bonnet using quick connect wires, making it easier to assemble a retro arcade controller or cabinet. The full guide is available in Adafruit's learn system.

A new, ‘bizarre’ spider, is named after a legendary Japanese ghost

AI 摘要A newly discovered spider species from Thailand, Cryptothele dorotabo, is the first of its ground-dwelling genus recorded in the country, identified through Micro-CT scanning of specimens collected during a 2018 survey. The tiny spider, whose females measure about 0.3 inches, coats itself in a thick layer of mud or soil debris, a behavior researchers are still trying to understand. The species was named after the Dorotabo, a one-eyed ghost from Japanese folklore said to be the spirit of a neglected rice field farmer who rises from the mud at night.