Skip to content

About

A compact Python chess engine (4 KB). 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

6 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 compact Python chess engine for the make.fun tiny-chess-01 bounty.

  • 0x88 board, alpha-beta + quiescence, transposition table, MVV-LVA captures + killer move ordering, iterative deepening with a fixed node budget (default 30,000 nodes/move, CHESS_NODES).
  • Eval: material + piece-square tables + tapered king + passed / isolated / doubled pawns.
  • main.py is the LZMA-compressed entry (see src.py, the readable source). Only the Python standard library is used.

Run it

MAKEFUN_ENV_URL=http://127.0.0.1:18080 CHESS_NODES=30000 python3 main.py

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

About

A compact Python chess engine (4 KB). 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