/chess

A UCI engine written in Haskell

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

chess

An other UCI engine written in Haskell

This program is still in an early stage, but we managed to beat pyChess at its strongest setting.

The game PGN:

[Event "Local Event"]
[Site "Local Site"]
[Date "2014.07.27"]
[Round "1"]
[White "Chess"]
[Black "PyChess 0.10.1"]
[Result "1-0"]
[TimeControl "900+5"]
[Time "10:16:00"]
[WhiteClock "0:00:19.138"]
[BlackClock "0:12:44.121"]
[PlyCount "43"]

1. e4 c5 2. Nf3 d6 3. Nc3 Nf6 4. Bb5+ Bd7 5. Bxd7+ Nbxd7 6. O-O h6 7. d4 cxd4
8. Nxd4 e5 9. Nf5 Nc5 10. Re1 h5 11. Bg5 Qb8 12. Bxf6 gxf6 13. Nb5 Qd8 14. b4
Nxe4 15. Rxe4 d5 16. Qxd5 Qxd5 17. Nc7+ Kd7 18. Nxd5 Rb8 19. Rd1 Ke6 20. Nde7
Rd8 21. Rxd8 b6 22. Rd6# 1-0

Haddock

The auto generated haskell code documentation lives on http://phaul.github.io/chess/. This is manually regenerated from time to time, and might not reflect the latest code base.

Testing

The STS run with depth set to 4. Total score for STS1-10: 4117, STS1-14: 5478. This equates to an ELO estimate of 1403.

STS Score Test
STS1 342 Undermine
STS2 413 Open Files and Diagonals
STS3 396 Knight Outposts/Repositioning/Centralization
STS4 377 Square Vacancy
STS5 532 Bishop vs Knight
STS6 648 Recapturing
STS7 348 Simplification
STS8 244 AKPC
STS9 196 Advancement of a/b/c pawns
STS10 621 Simplification
STS11 244 King Activity
STS12 347 Center Control
STS13 330 Pawn Play in the Center
STS14 440 7th Rank

Build Status