# SME (SAN Kit Minimal Engine)

Simple CECP engine based on [SAN Kit][1]. Improvements of the [minimal CECP engine example][2]. Program generated by Claude AI.

I found it interesting to keep the various versions of the program generated successively by *Claude* (after I had either reported a bug or requested an improvement).

## Features of the different versions

Version | Feature
----- | ---
SME-A | Loses games in tournament due to improperly announcing results.
SME-B | Disconnects due to the imperfect solution to the previous problem.
SME-C | Works well. Resigns cleanly when exceeding capacity.
SME-D | Is capable of checkmate in one move, sees checkmate in one move coming, and prefers a capture to another move. Remains very weak nonetheless.
SME-F | Rudimentary search for the best move.
SME-G | Slightly improved search.
SME-H | Opening book in a fun format (the format also used by [Alouette][3]).
SME-I | Added a simplistic positional criterion, which is enough to make this version stronger than the previous ones.

[1]: https://codeberg.org/rchastain/sankit
[2]: https://codeberg.org/rchastain/sankit/src/branch/main/demos/xboard-engine
[3]: https://codeberg.org/rchastain/alouette#opening-book
