A 2-ply minimax chess engine in 84,688 regular expressions
Can chess, with regular expressions?
Yes. Can chess, with regular expressions.
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.
Here, I'll show you.
Current executing regular expression will show here...
Specifically, this is the entirety of the pro...
Read more at nicholas.carlini.com