Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tromp
36 days ago
|
parent
|
context
|
favorite
| on:
A minimax chess engine in regular expressions
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?
tromp
36 days ago
|
next
[–]
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...
drveen28
35 days ago
|
prev
[–]
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".
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Can anyone get a mate in 4?