Paul Webster’s Games & Blogs

Piglet Chess Engine

Piglet is a UCI complaint chess engine, written in C++.

Piglet is a UCI (Universal Chess Interface) chess engine. The engine can be downloaded from Github and played within a UCI (Universal Chess Engine) GUI such as Arena. To play against Piglet, download Arena, download the Piglet engine executable, and load the Piglet engine into Arena.

Alternatively, a Piglet bot can be played online at Lichess.org. Sign in to Lichess.org and search for piglet_engine.

The following techniques were used in the coding of the engine:

Planned future enhancements:

  • Enhanced Evaluation Logic
  • 50 Move Rule
  • Threefold Repitition Rule
  • Null Move Heuristic/Pruning
  • Late Move Reduction
  • Futility Pruning
  • Add Static Exchange Evaluation to the Quiescence Function
One response to “Piglet Chess Engine”
  1. Roelof Berkepeis avatar

    I just played 2 games against Piglet 1.3 using your online page .. i won the first one and drew the second .. when downloading the PGN i was asked for my name (that’s OK) and also which color i played, but that color should be known, no need to fill it in .. besides that the PGN text shows i played against “BBC 1.2” !? And the PGN is not complete, you should also add the (empty) meta field data Site, Event, Result etc. to make it complete : only this way such PGN will be accepted when importing into a chess program.

Leave a Reply

Your email address will not be published. Required fields are marked *