News for hackers. Stuff that matters.
Re:Regex Chess: A 2-ply minimax chess engine in 84,688 regul... by deviation on Tuesday May 19, 2026 @07:22AM (#48191886)
Not sure it's completely accurate. I played a standard queen's gambit accepted, took black's queen which it immediately blundered, then tried to move my queen from c5 -> e5 and the game ended immediately showing:

  *Illegal Move*
  You Lose.
  Game over.
A little disappointed, since it's of course a valid move.
Re:Regex Chess: A 2-ply minimax chess engine in 84,688 regul... by benchloftbrunch on Tuesday May 19, 2026 @08:30AM (#48192453)
Yeesh, one illegal move attempt means you just lose? That's harsh...
Re:Regex Chess: A 2-ply minimax chess engine in 84,688 regul... by Someone on Tuesday May 19, 2026 @09:42AM (#48193214)
“then tried to move my queen from c5 -> e5”

Are you sure you typed “c5e5”?

It’s very picky about how you specify a move. “e2e4” is fine as a first move, for example, but auto-capitalized “E2e4” is losing immediately. Quite weird, given that there are guardrails against “e2-e4” and “E2-E4” (an alert pops up telling you how to write moves)