Code: Select all
[Event "Computer Chess Game"]
[Site "CHESS_LAPTOP"]
[Date "2012.07.19"]
[Round "-"]
[White "hgm"]
[Black "HaChu 0.1beta"]
[Result "*"]
[TimeControl "40/120"]
[Annotator "1... +0.27"]
1. e4 d6 {+0.27/5 1.2} 2. Nf3 Nf6 {+0.52/5 0.9} 3. Bb5+ c6 {+0.65/6 1.0} 4.
Ba4 b5 {+1.70/5 1.3} 5. Bb3 c6c4 {+3.17/5 0.8}
[d]rnbqkb1r/p3pppp/3p1n2/1p6/2p1P3/1B3N2/PPPP1PPP/RNBQK2R w KQkq - 0 6
After c6-c4!
Another problem was that it didn't see any harm in letting its King be captured. Because the code assumed that the piece behind King in the piece list would be the Crown Prince, and it checked as present, (because in fact this entry in hess was occupied by a Rook), so it thought it had a spare King, and might as well trade his real King for something more valuable.
