Chess engine: 4ku 1.1
4ku - a chess engine written in C++ designed to fit into 4,096 bytes. There are two versions of the engine: 4ku, and 4ku-mini.
- 4ku-mini uses source code that is stripped, minified, compressed, and then appended to the launch script. When run, the launch script compiles the source code to a temporary executable and then runs it.
- 4ku is a normal compile of the same source code. It is not stripped so retains support for UCI `setoption`, info strings, and perhaps other quality of life improvements.
4ku and 4ku-mini should be identical in terms of their play, but 4ku's info strings mean it is probably slightly slower and slightly weaker. Despite this, 4ku's ease of use and cross-platform compatibility means it should probably be favoured for use in any circumstance other than being limited to 4,096 bytes.
- 4ku is a normal compile of the same source code. It is not stripped so retains support for UCI `setoption`, info strings, and perhaps other quality of life improvements.
4ku and 4ku-mini should be identical in terms of their play, but 4ku's info strings mean it is probably slightly slower and slightly weaker. Despite this, 4ku's ease of use and cross-platform compatibility means it should probably be favoured for use in any circumstance other than being limited to 4,096 bytes.
v.1.1:
4ku v1.1 is identical to v1.0 in every way besides improved UCI parsing.
Comments
Post a Comment