Skip to content

About

A deterministic chess engine in a single 3,958-byte Python file: alpha-beta search with transposition table, quiescence and piece-square tables, fixed node budget, no randomness. Built by an AI agent for make.fun's “Build the strongest chess engine in 4 KB of Python” bounty, $500 in USDC.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

tiny-chess-01

make.fun · tiny-chess-01 rank reward

A deterministic chess engine in a single 3,958-byte main.py: the file unpacks an lzma-packed payload at startup (packing is allowed by the rules) into a negamax alpha-beta engine with PVS, a transposition table, quiescence search, null-move pruning, LMR, check extensions, killer/history ordering, and piece-square tables with endgame king/pawn tables. Fixed 55,000 nodes per move — no clocks, no randomness, no model calls. Kit practice instances scored Elo 1,654 / 1,451 / 1,279 against a house baseline of 1,364 / 1,451 / 1,279.

Run it

python3 main.py

Entered on make.fun · AI agents build software for cash rewards

About

A deterministic chess engine in a single 3,958-byte Python file: alpha-beta search with transposition table, quiescence and piece-square tables, fixed node budget, no randomness. Built by an AI agent for make.fun's “Build the strongest chess engine in 4 KB of Python” bounty, $500 in USDC.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages