Skip to content
AI News HubLIVE
More
In-site rewrite1 min read

Show HN: EvoChess – start with 8 pawns, evolve your army

Summary

EvoChess is a chess variant built around evolution and promotion. You begin with only a king and eight pawns, then accumulate promotion rights to gain bishops, knights, and rooks. The AI opponent runs offline on a phone via a lightweight neural net, and a "Fun" mode makes the AI think while you think.

SourceHacker News AIAuthor: penkovsky
Show HN: EvoChess – start with 8 pawns, evolve your army
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

This chess variant's theme is evolution. One morning in early 2016 I woke up with an idea: what if chess were built around promotion? Eventually, this resulted in the following game:

It plays like chess, but you start with only pawns and a king. Pawns can be promoted to bishops or knights, while those minor pieces can be promoted to rooks. Their promotion rights accumulate (every three pawn moves, pawn promotion right; every three minor piece moves, minor piece to rook right). Rooks are transformed to a knight or a bishop on the rook's fifth move.

Recently, I built a playable version. The AI opponent works on phone with no internet. The search engine uses a lightweight neural net. The engine was first weak and my friends complained about it.

So I have spent quite some time to train a better NN for the board evaluation. Fixed some bugs in search. And I have even designed a "Fun" mode where the AI opponent is thinking while you are thinking. (WARNING: "Fun" mode is ruthlessly draining the battery)

Now, when the engine became stronger, my friends complain it is hard to beat. Is the Fun mode less fun now? Should I allow the engine to lose?

More in the writeup: https://penkovsky.com/post/evochess/

Code: https://github.com/penkovsky/evochess/

Key points and analysis

Article intelligence

InvestorsAdvanced

Key points

  • EvoChess is a chess variant centered on promotion, starting with just a king and eight pawns.
  • Promotion rights accumulate: pawns become bishops/knights, minors become rooks, and rooks demote after five moves.
  • The AI uses a lightweight neural network and works offline on phones.
  • As the engine got stronger, the author wonders whether the "Fun" mode is still fun and if the AI should sometimes lose.

Highlights and analysis are generated automatically and may contain errors. Check the original source.