Tuesday, April 26, 2022

Py Sunfish Chess => GoLang

Let's write a tiny chess engine in Go

"porting the sunfish chess engine to Go. Sunfish is notable for its simplicity and small size, while still being capable of playing decent chess.

full code of the engine at https://github.com/zserge/carnatus (the name comes from latin species name of Gopher rockfish).

If you are interested in small chess engines, I strongly recommend playing with sunfish. Also, sunfish was based on Micromax engine, which has a wonderful documentation by his author, definitely worth reading."

While this Go implementation works, there are a few issues that need attention, can not be used as-is (i.e. start K-Q position needs to be swapped, etc.)

No comments: