News for hackers. Stuff that matters.
Re:Playing Chess with 84,688 Regular Expressions by tromp on Tuesday January 07, 2025 @01:28PM (#42625625)
Nice find. I tried to get an even shorter mate, but its tendency to give up its pieces got in the way: 1. e4 e5 2. Bc4 Bc5 3. Qh5 Bxf2+ 4. Ke2 Bxg1 5. Qxf7#

Can anyone get a mate in 4?

Re:Playing Chess with 84,688 Regular Expressions by tromp on Tuesday January 07, 2025 @01:33PM (#42625687)
Oh, that was easier than expected: 1. e4 e5 2. Qh5 a6 3. Bc4 a5 4. Qxf7# I assume a mate in 3 (or a Fool's mate in 2) is not possible...
Re:Playing Chess with 84,688 Regular Expressions by drveen28 on Wednesday January 08, 2025 @04:51PM (#42638831)
1. e4 e5 2. Nf3 Nf6 3. d3 Ne4 4. dxe4 a5 5. Ne5 b5 6. Qf3 a4 7. Qf7#

Still, impressive for "a pile of regexen".