Chess engine for Android: 4ku 2.0
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.
Author:kz04px
v.2.0:
This version of 4ku-mini played in the TCEC's S24 Swiss 4 tournament. Various strength and size improvements since v1.1
Comments
Post a Comment