# Regex Chess

5 Hacker News commenters recommended Regex Chess and 4 criticized it, November 2025 to November 2026. It was recommended in 1 of 13 months.

**Verdict:** 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.

## Why people recommend it

- Impressive, novel regex-only chess engine (3 comments): "it's playing really bad, but it could be worse and it's already super impressive that it can even generate legal moves" ([source](https://news.ycombinator.com/item?id=48191196)) "Brilliant. The Chinese room thought experiment as a chess engine." ([source](https://news.ycombinator.com/item?id=48190188)) "This is amazing. I'm at loss for words." ([source](https://news.ycombinator.com/item?id=48188667))

## What people warn about

- Rejects valid moves; loses on illegal move (3 comments): "I get "illegal move, game over" like 50% of the time, chrome on android." ([source](https://news.ycombinator.com/item?id=48189186)) "one illegal move attempt means you just lose? That's harsh..." ([source](https://news.ycombinator.com/item?id=48192453)) "A little disappointed, since it's of course a valid move." ([source](https://news.ycombinator.com/item?id=48191886))
- Plays badly, misses mate in one (2 comments): "it's playing really bad, but it could be worse and it's already super impressive that it can even generate legal moves" ([source](https://news.ycombinator.com/item?id=48191196)) "the computer did not act to prevent checkmate in 1" ([source](https://news.ycombinator.com/item?id=48188652))

## Alternatives hackers recommend

- [Stockfish](https://hackerapproved.com/p/stockfish.md): 47 recommend
- [Sameshi chess engine](https://hackerapproved.com/p/sameshi-chess-engine.md): 10 recommend
- [Chessmaster 3000](https://hackerapproved.com/p/chessmaster.md): 6 recommend
- [Leela Chess Zero](https://hackerapproved.com/p/leela-chess-zero.md): 5 recommend

## Cite as

Hacker Approved, "Regex Chess", https://hackerapproved.com/p/regex-chess/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
