Skip to content

op12no2/cwtch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cwtch

Cwtch is a UCI chess engine written in C. As a command line program it needs a chess user interface to operate within; e.g. CuteChess, Arena etc.

Command extensions

  • quit/q - close Cwtch.
  • bench/h [d] - get a node count and nps over a collection of searches with optional depth d, the default being 10 which is quick.
  • eval/e - display an evaluation for the current position.
  • board/b - display the board for the current position.
  • perft/f d - performs a PERFT search to depth d on the current position and report nps.
  • pt [d] - perform a set of PERFT searches. If d is present depths greater than d are skipped.
  • et - perform a collection of test evaluations and display evaluation sum.
  • net/n - display network attributes.

Commands can be given on the command line, for example: ./cwtch ucinewgame "position startpos" b "go depth 10".

Cwtch's net

Cwtch's net was booted from quiet_labeled.epd and lichess-big3-resolved.epd, then iteratively improved through six generations of self play and training; initially using a diy white-relative trainer and more recently with bullet. Currently it's a simple quantised 768->(384*2)->1 squared ReLU architecture, trained on about 600M positions.

References & Acknowledgements

About

A C UCI chess engine

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages