Hacker ApprovedDepartments

Regex Chess

Shares rank 4 of 5 chess engines by recommenders

Recommended as a novel demo: a chess engine built from 84,688 regular expressions that generates legal moves. Caveat: it plays badly and can lose on one illegal move.

Recommended as a novel demo: a chess engine built from 84,688 regular expressions that generates legal moves. Caveat: it plays badly and can lose on one illegal move.

9 people gave an opinion

recommend it
5
criticize it
4
approval share
56%
Each figure is one person. RecommendsCriticizes

Recommended in 1 of 13 months

  1. November 2025: not recommended
  2. December 2025: not recommended
  3. January 2026: not recommended
  4. February 2026: not recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 5 people recommend itNeeds 10 or more, not met.
  • 1.2 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 1 of 13 monthsNeeds 4 or more, not met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Impressive, novel regex-only chess engine

    “it's playing really bad, but it could be worse and it's already super impressive that it can even generate legal moves”

    Comment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

    “Brilliant. The Chinese room thought experiment as a chess engine.”

    Comment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

    “This is amazing. I'm at loss for words.”

    Comment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

What people warn about

Each mark is one comment

  • Rejects valid moves; loses on illegal move

    “I get "illegal move, game over" like 50% of the time, chrome on android.”

    Comment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

    “one illegal move attempt means you just lose? That's harsh...”

    Comment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

    “A little disappointed, since it's of course a valid move.”

    Comment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”
  • Plays badly, misses mate in one

    “it's playing really bad, but it could be worse and it's already super impressive that it can even generate legal moves”

    Comment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

    “the computer did not act to prevent checkmate in 1”

    Comment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

Other chess engines people recommend

The four most recommended other chess engines, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Regex Chess compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Stockfish47885%9—Approved
Sameshi chess engine10377%1——
Chessmaster 300060100%3——
Regex ChessThis page5456%1——
Leela Chess Zero50100%4——
See all 5 chess engines, ranked

What people said

All 9 comments that mention it, newest first. Each links to the original comment.

“It’s very picky about how you specify a move.”

MixedComment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

“one illegal move attempt means you just lose? That's harsh...”

CriticizesComment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

“I'm not sure in which aspect it is an achievement, considering the loop isn't a regex.”

CriticizesComment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

“A little disappointed, since it's of course a valid move.”

CriticizesComment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

“it's playing really bad, but it could be worse and it's already super impressive that it can even generate legal moves”

MixedComment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

“Brilliant. The Chinese room thought experiment as a chess engine.”

RecommendsComment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

“I get "illegal move, game over" like 50% of the time, chrome on android.”

CriticizesComment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

“This is amazing. I'm at loss for words.”

RecommendsComment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

“the computer did not act to prevent checkmate in 1”

MixedComment from 19 May 2026 in “Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.