[0007.31] ScriptLog: ============================================ [0007.31] ScriptLog: ===== Routine of SAMPLES for chess logic === [0007.31] ScriptLog: ============================================ [0007.31] ScriptLog: Setting up the starting position [0007.31] ScriptLog: wpa2;wpb2;wpc2;wpd2;wpe2;wpf2;wpg2;wph2;wRa1;wNb1;wBc1;wQd1;wKe1;wBf1;wNg1;wRh1;bpa7;bpb7;bpc7;bpd7;bpe7;bpf7;bpg7;bph7;bRa8;bNb8;bBc8;bQd8;bKe8;bBf8;bNg8;bRh8; [0007.31] ScriptLog: FEN function : rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w QKqk - 0 1 [0007.31] ScriptLog: Position after e4: [0007.31] ScriptLog: wpa2;wpb2;wpc2;wpd2;wpe4;wpf2;wpg2;wph2;wRa1;wNb1;wBc1;wQd1;wKe1;wBf1;wNg1;wRh1;bpa7;bpb7;bpc7;bpd7;bpe7;bpf7;bpg7;bph7;bRa8;bNb8;bBc8;bQd8;bKe8;bBf8;bNg8;bRh8; [0007.32] ScriptLog: Last move:e2e4 [0007.32] ScriptLog: All movements till now:e2e4 [0007.32] ScriptLog: Now possible moves: [0007.33] ScriptLog: a7a6,a7a5,b7b6,b7b5,c7c6,c7c5,d7d6,d7d5,e7e6,e7e5,f7f6,f7f5,g7g6,g7g5,h7h6,h7h5,b8c6,b8a6,g8h6,g8f6, [0007.34] ScriptLog: Position after takeback [0007.34] ScriptLog: wpa2;wpb2;wpc2;wpd2;wpe2;wpf2;wpg2;wph2;wRa1;wNb1;wBc1;wQd1;wKe1;wBf1;wNg1;wRh1;bpa7;bpb7;bpc7;bpd7;bpe7;bpf7;bpg7;bph7;bRa8;bNb8;bBc8;bQd8;bKe8;bBf8;bNg8;bRh8; [0007.34] ScriptLog: Can move a2-a4? [0007.34] ScriptLog: True [0007.34] ScriptLog: White king in stalemate? [0007.35] ScriptLog: False [0007.35] ScriptLog: Check to white king? [0007.36] ScriptLog: False [0007.36] ScriptLog: Is checkmate to white king? [0007.37] ScriptLog: False [0007.37] ScriptLog: Piece on g7:bp [0007.37] ScriptLog: Is empty square g6? [0007.37] ScriptLog: True [0007.37] ScriptLog: Position after setup FEN=7k/Q7/2P2K2/8/8/8/8/8 w - - 0 70 [0007.38] ScriptLog: bKh8;wQa7;wpc6;wKf6; [0007.38] ScriptLog: PGN -> moves [0007.46] ScriptLog: d2d4d7d5c2c4e7e6g1f3g8f6g2g3f8e7f1g2e8g8[0]e1g1[0]d5c4d1c2a7a6c2c4b7b5c4c2c8b7c1d2b7e4c2c1e4b7c1c2a8a7f1c1b7e4c2b3e4d5b3e3b8d7d2a5e7d6b1c3d5b7f3g5b7g2g1g2d8a8e3f3a8f3g2f3e6e5e2e3d6e7c3e2f8e8f3g2f6d5g5f3e7d6d4e5d7e5f3e5e8e5e2d4a7a8d4c6e5e6c1c2d5b6b2b3g8f8a1d1f8e8c6d4e6f6e3e4f6g6e4e5d6e7c2c7b6d5c7b7e7d8d4f5d5f4g2f3d8a5g3f4a5b4d1d7a8c8d7f7c8c3f3e4 [0007.46] ScriptLog: moves -> PGN (reverse action) [0007.83] ScriptLog: 1. d4 d5 2. c4 e6 3. Nf3 Nf6 4. g3 Be7 5. Bg2 O-O 6. O-O dxc4 7. Qc2 a6 8. Qxc4 b5 9. Qc2 Bb7 10. Bd2 Be4 11. Qc1 Bb7 12. Qc2 Ra7 13. Rc1 Be4 14. Qb3 Bd5 15. Qe3 Nbd7 16. Ba5 Bd6 17. Nc3 Bb7 18. Ng5 Bxg2 19. Kxg2 Qa8+ 20. Qf3 Qxf3+ 21. Kxf3 e5 22. e3 Be7 23. Ne2 Re8 24. Kg2 Nd5 25. Nf3 Bd6 26. dxe5 Nxe5 27. Nxe5 Rxe5 28. Nd4 Ra8 29. Nc6 Re6 30. Rc2 Nb6 31. b3 Kf8 32. Rd1 Ke8 33. Nd4 Rf6 34. e4 Rg6 35. e5 Be7 36. Rxc7 Nd5 37. Rb7 Bd8 38. Nf5 Nf4+ 39. Kf3 Bxa5 40. gxf4 Bb4 41. Rdd7 Rc8 42. Rxf7 Rc3+ 43. Ke4 [0007.83] ScriptLog: Fischer-random PGN -> moves [0007.89] ScriptLog: c2c4e7e5h1g3h8g6b2b3f7f6e2e3b7b6e1e2f8e6e2h5g8h8g3f5g6e7h5e8d8e8f1g3h7h5f5e7e8e7d2d4d7d6h2h4e7f7d4d5e6f8f2f4c7c6f4e5d6e5e3e4b8d6b1d3f8g600**g6h4d3e2h4g6g3f5d6c5g1h2g6f4c1c2c6d5e4d5h5h4e2g4c8e8a1b2g7g6f5d4e5d4f1f4c5d6 [0007.89] ScriptLog: moves -> PGN (reverse action) [0008.23] ScriptLog: [White Aronian, Levon][Black Rosa, Mike][Result 0:1][SetUp "1"][FEN "bbrkqnrn/pppppppp/8/8/8/8/PPPPPPPP/BBRKQNRN w GCgc - 0 0"]1. c4 e5 2. Nhg3 Nhg6 3. b3 f6 4. e3 b6 5. Qe2 Ne6 6. Qh5 Rh8 7. Nf5 Ne7 8. Qxe8+ Kxe8 9. Nf1-g3 h5 10. Nxe7 Kxe7 11. d4 d6 12. h4 Kf7 13. d5 Nf8 14. f4 c6 15.fxe5 dxe5 16. e4 Bd6 17. Bd3 Ng6 18. 0-0 Nxh4 19. Be2 Ng6 20. Nf5 Bc5+ 21. Kh2 Nf4 22. Rc2 cxd5 23. exd5 h4 24. Bg4 Rce8 25. Bb2 g6 26. Nd4 exd4 27. Rxf4 Bd6 0:1 [0008.24] ScriptLog: Starting position... [0008.29] ScriptLog: Search deep 1: b1c3 [0008.29] ScriptLog: Openings, variants on request: e2e4... [0008.38] ScriptLog: c7c5 (4) e7e5 (2) g8f6 (1) g7g6 (1) e7e6 (1) d7d6 (1) d7d5 (1) c7c6 (1) b8c6 (1) b7b6 (1) ECO B00 [0008.38] ScriptLog: On request: 1.d4 d5 2.c4... [0008.46] ScriptLog: c7c6 (4) e7e6 (3) g8f6 (1) e7e5 (1) d5c4 (1) c8f5 (1) b8c6 (1) ECO D06 [0008.46] ScriptLog: Chess for UDK code :)