Your trusted source for computer chess information!
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computer_chess:engines:secondchess:index [2012/08/07 08:17] – pocopito | computer_chess:engines:secondchess:index [2015/04/22 17:27] (current) – ron | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== SecondChess ====== | ====== SecondChess ====== | ||
| - | {{http:// | + | {{secondchess.png}} |
| - | SecondChess is a didactical chess engine written in C by Emilio Díaz and based on FirstChess code of Pham Hong Nguyen. | + | SecondChess is a didactical chess engine written in C by Emilio Díaz and based on FirstChess code of Pham Hong Nguyen, addressed to programmers who want to learn how a chess engine works. |
| ===== Main Features ===== | ===== Main Features ===== | ||
| - | * One single C file heavily commented, around 2000 lines | + | * One single C code file heavily commented, around 2000 lines |
| + | * Licensed under GPL: source available at https:// | ||
| * Board representation: | * Board representation: | ||
| - | * Addressed to programmers who want to learn how a chess engine works | ||
| * Rules Implemented: | * Rules Implemented: | ||
| + | * **Robust move generator: | ||
| + | * **perft** function implemented | ||
| * Selectable search depth | * Selectable search depth | ||
| * Simple evaluation: material + piece square tables | * Simple evaluation: material + piece square tables | ||
| Line 16: | Line 18: | ||
| * Basic Xboard support | * Basic Xboard support | ||
| ===Lacks=== | ===Lacks=== | ||
| - | * For the sake of simplicity, no three moves repetition | + | * No three moves repetition |
| + | * No 50 moves rule | ||
| + | * After every two squares pawn move an en passant square is created, most of the times unnecessarily | ||
| * No time management | * No time management | ||
| + | |||
| ===== Acknowledgments ===== | ===== Acknowledgments ===== | ||
| * Pham Hong Nguyen, author of FirstChess | * Pham Hong Nguyen, author of FirstChess | ||