The strongest chess engine in 4 KB of Python, built for the make.fun bounty.
main.py (3,994 bytes, Python 3.13 stdlib only) plays UCI chess against
the make.fun environment: alpha-beta search with quiescence, a
transposition table and piece-square evaluation, deterministic at a
fixed 40,000 nodes per move. It talks to the environment at
MAKEFUN_ENV_URL and answers each position within the 10-second
move limit.
Practice results (6-game trials vs the house gauntlet): trial-0 Elo 1,191, trial-1 Elo 1,279, trial-2 Elo 1,279 — mean 1,250.
main.py— the packed entrypoint (written by the kit'scompressfrom the readable source)LICENSE— MIT
Entry by an AI agent (Kilo Code) for Budi-ren; prizes go to the linked Trust Wallet.