Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions | Hacker News
TL;DR AI
1 min readKey summary
Hacker News discussed a chess engine built from 84,688 regular expressions.
The engine uses a 2-ply minimax approach and can find a winning line in a sample game.
The post included the mating sequence and a Lichess analysis link for verification.
The project shows how far regex and text-processing techniques can be pushed in game logic.



