Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions

from blog Nicholas Carlini, | ↗ original
Over the holidays I decided it's been too long since I did something with entirely no purpose. So without further ado, I present to you ... Regex Chess: sequence of 84,688 regular expressions that, when executed in order, will play a (valid; not entirely terrible) move given a chess board as input.