Syntax Error on line 78
MOVE: Q-a4 is not a valid expression, because Q-a4 is not a recognized piece, coordinate, command, or subroutine.
Edit the Settings File for Time Travel Chess
For the sake of debugging, here is the full GAME Code program that this error occurred in. The lines have been properly indented to help you spot scope errors.
0 moveindex 0 1 MOVE: e2-e4 2 moveindex 1 3 MOVE: e7-e5 4 moveindex 5 5 MOVE: f2- 6 moveindex 6 7 MOVE: g8-f6 8 moveindex 7 9 MOVE: P-d3 10 moveindex 8 11 MOVE: f8-c5 12 moveindex 9 13 MOVE: g1-f3 14 moveindex 10 15 MOVE: f6-g4 16 moveindex 11 17 MOVE: d3-d4 18 moveindex 12 19 MOVE: e5-d4 20 moveindex 26 21 MOVE: K-d5 22 moveindex 27 23 MOVE: b7-b6 24 moveindex 28 25 MOVE: d5- 26 moveindex 38 27 MOVE: c8-b7 28 moveindex 39 29 MOVE: pass 30 moveindex 40 31 MOVE: k-g8 32 moveindex 41 33 MOVE: d2-d3 34 moveindex 42 35 MOVE: g8- 36 moveindex 43 37 MOVE: c1-g5 38 moveindex 44 39 MOVE: c5-e7 40 moveindex 45 41 MOVE: g5-e7 42 moveindex 46 43 MOVE: d8-e7 44 moveindex 47 45 MOVE: b1-d2 46 moveindex 48 47 MOVE: d7-d5 48 moveindex 49 49 MOVE: d1- 50 moveindex 50 51 MOVE: d5-e4 52 moveindex 51 53 MOVE: d3-e4 54 moveindex 52 55 MOVE: b7-e4 56 moveindex 53 57 MOVE: e1- 58 moveindex 54 59 MOVE: e4-f3 60 moveindex 55 61 MOVE: d2-f3 62 moveindex 56 63 MOVE: e7-e3 64 moveindex 57 65 MOVE: K-b1 66 moveindex 58 67 MOVE: k-b7 68 moveindex 59 69 MOVE: f1-a6 70 moveindex 60 71 MOVE: b7-a6 72 moveindex 61 73 MOVE: h1-e1 74 moveindex 62 75 MOVE: e8-g8 76 MOVE: h8-f8 77 moveindex 63 78 MOVE: Q-a4 79 moveindex 64 80 MOVE: a6-b7 81 moveindex 65 82 MOVE: e1-e3 83 moveindex 66 84 MOVE: b8-c6 85 moveindex 67 86 MOVE: e3-e2 87 moveindex 68 88 MOVE: a7-a6 89 moveindex 69 90 MOVE: f3-d4 91 moveindex 70 92 MOVE: c6-d4 93 moveindex 71 94 MOVE: a4-d4 95 moveindex 72 96 MOVE: a8-d8 97 moveindex 73 98 MOVE: K-c3 99 moveindex 74 100 MOVE: d8-d4 101 moveindex 75 102 MOVE: c3-d4 103 moveindex 76 104 MOVE: f8-d8 105 moveindex 77 106 MOVE: d4-c3 107 moveindex 78 108 MOVE: d8-d1 109 moveindex 79 110 MOVE: lost 111 end 112functions
uservar
Array ( [0] => Array ( [main] => Array ( ) ) )mline
Array ( [0] => MoveLine Object ( [movenum] => 1 [move] => e2-e4 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 1 ) [1] => MoveLine Object ( [movenum] => 2 [move] => e7-e5 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 1 ) [2] => MoveLine Object ( [movenum] => 3 [move] => f2- [level] => 1 [comment] => [length] => 8 [newturn] => 1 [turn] => 2 ) [3] => MoveLine Object ( [movenum] => 3 [move] => [level] => 1 [comment] => // To move 2. [length] => 15 [newturn] => 1 [turn] => 2 ) [4] => MoveLine Object ( [movenum] => 4 [move] => g8-f6 [level] => 1 [comment] => [length] => 12 [newturn] => [turn] => 2 ) [5] => MoveLine Object ( [movenum] => 5 [move] => f2- [level] => 0 [comment] => [length] => 6 [newturn] => 1 [turn] => 2 ) [6] => MoveLine Object ( [movenum] => 6 [move] => g8-f6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 2 ) [7] => MoveLine Object ( [movenum] => 7 [move] => P-d3 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 3 ) [8] => MoveLine Object ( [movenum] => 8 [move] => f8-c5 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 3 ) [9] => MoveLine Object ( [movenum] => 9 [move] => g1-f3 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 4 ) [10] => MoveLine Object ( [movenum] => 10 [move] => f6-g4 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 4 ) [11] => MoveLine Object ( [movenum] => 11 [move] => d3-d4 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 5 ) [12] => MoveLine Object ( [movenum] => 12 [move] => e5-d4 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 5 ) [13] => MoveLine Object ( [movenum] => 13 [move] => d2-d3 [level] => 1 [comment] => [length] => 10 [newturn] => 1 [turn] => 6 ) [14] => MoveLine Object ( [movenum] => 14 [move] => d8- [level] => 1 [comment] => // Move 8 [length] => 20 [newturn] => [turn] => 6 ) [15] => MoveLine Object ( [movenum] => 15 [move] => e1- [level] => 1 [comment] => [length] => 8 [newturn] => 1 [turn] => 7 ) [16] => MoveLine Object ( [movenum] => 15 [move] => [level] => 1 [comment] => // To move 9. [length] => 15 [newturn] => 1 [turn] => 7 ) [17] => MoveLine Object ( [movenum] => 16 [move] => g4-f2 [level] => 1 [comment] => [length] => 12 [newturn] => [turn] => 7 ) [18] => MoveLine Object ( [movenum] => 17 [move] => d1-e1 [level] => 1 [comment] => [length] => 10 [newturn] => 1 [turn] => 8 ) [19] => MoveLine Object ( [movenum] => 18 [move] => f2-h1 [level] => 2 [comment] => [length] => 13 [newturn] => [turn] => 8 ) [20] => MoveLine Object ( [movenum] => 19 [move] => K-d1 [level] => 2 [comment] => [length] => 10 [newturn] => 1 [turn] => 9 ) [21] => MoveLine Object ( [movenum] => 19 [move] => [level] => 2 [comment] => // From move 7 [length] => 17 [newturn] => 1 [turn] => 9 ) [22] => MoveLine Object ( [movenum] => 20 [move] => q-d1 [level] => 1 [comment] => // from move 6 ,sorry I forgot to to this last time [length] => 63 [newturn] => [turn] => 8 ) [23] => MoveLine Object ( [movenum] => 21 [move] => K-g1 [level] => 1 [comment] => [length] => 9 [newturn] => 1 [turn] => 9 ) [24] => MoveLine Object ( [movenum] => 21 [move] => [level] => 1 [comment] => // From move 7. [length] => 17 [newturn] => 1 [turn] => 9 ) [25] => MoveLine Object ( [movenum] => 22 [move] => d1-e1 [level] => 1 [comment] => [length] => 12 [newturn] => [turn] => 9 ) [26] => MoveLine Object ( [movenum] => 23 [move] => K-d5 [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 6 ) [27] => MoveLine Object ( [movenum] => 24 [move] => b7-b6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 6 ) [28] => MoveLine Object ( [movenum] => 25 [move] => d5- [level] => 0 [comment] => [length] => 6 [newturn] => 1 [turn] => 7 ) [29] => MoveLine Object ( [movenum] => 26 [move] => d8- [level] => 1 [comment] => //move 9 [length] => 19 [newturn] => [turn] => 7 ) [30] => MoveLine Object ( [movenum] => 27 [move] => f1-c4 [level] => 1 [comment] => [length] => 10 [newturn] => 1 [turn] => 8 ) [31] => MoveLine Object ( [movenum] => 28 [move] => e8-g8;h8-f8 [level] => 1 [comment] => [length] => 18 [newturn] => [turn] => 8 ) [32] => MoveLine Object ( [movenum] => 29 [move] => c4-f7 [level] => 1 [comment] => [length] => 10 [newturn] => 1 [turn] => 9 ) [33] => MoveLine Object ( [movenum] => 30 [move] => f8-f7 [level] => 1 [comment] => //well played [length] => 26 [newturn] => [turn] => 9 ) [34] => MoveLine Object ( [movenum] => 31 [move] => d2-d3 [level] => 1 [comment] => [length] => 11 [newturn] => 1 [turn] => 10 ) [35] => MoveLine Object ( [movenum] => 31 [move] => [level] => 1 [comment] => // Thanks. I learned that tactic from the inventor of this [length] => 60 [newturn] => 1 [turn] => 10 ) [36] => MoveLine Object ( [movenum] => 31 [move] => [level] => 1 [comment] => // variant who played such things against me with equally [length] => 59 [newturn] => 1 [turn] => 10 ) [37] => MoveLine Object ( [movenum] => 31 [move] => [level] => 1 [comment] => // devastating effect. [length] => 24 [newturn] => 1 [turn] => 10 ) [38] => MoveLine Object ( [movenum] => 32 [move] => c8-b7 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 7 ) [39] => MoveLine Object ( [movenum] => 33 [move] => pass [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 8 ) [40] => MoveLine Object ( [movenum] => 34 [move] => k-g8 [level] => 0 [comment] => // sorry wasn't thinking [length] => 35 [newturn] => [turn] => 8 ) [41] => MoveLine Object ( [movenum] => 35 [move] => d2-d3 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 9 ) [42] => MoveLine Object ( [movenum] => 36 [move] => g8- [level] => 0 [comment] => [length] => 8 [newturn] => [turn] => 9 ) [43] => MoveLine Object ( [movenum] => 37 [move] => c1-g5 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 10 ) [44] => MoveLine Object ( [movenum] => 38 [move] => c5-e7 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 10 ) [45] => MoveLine Object ( [movenum] => 39 [move] => g5-e7 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 11 ) [46] => MoveLine Object ( [movenum] => 40 [move] => d8-e7 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 11 ) [47] => MoveLine Object ( [movenum] => 41 [move] => b1-d2 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 12 ) [48] => MoveLine Object ( [movenum] => 42 [move] => d7-d5 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 12 ) [49] => MoveLine Object ( [movenum] => 43 [move] => d1- [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 13 ) [50] => MoveLine Object ( [movenum] => 44 [move] => d5-e4 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 13 ) [51] => MoveLine Object ( [movenum] => 45 [move] => d3-e4 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 14 ) [52] => MoveLine Object ( [movenum] => 46 [move] => b7-e4 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 14 ) [53] => MoveLine Object ( [movenum] => 47 [move] => e1- [level] => 0 [comment] => [length] => 7 [newturn] => 1 [turn] => 15 ) [54] => MoveLine Object ( [movenum] => 48 [move] => e4-f3 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 15 ) [55] => MoveLine Object ( [movenum] => 49 [move] => d2-f3 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 16 ) [56] => MoveLine Object ( [movenum] => 50 [move] => e7-e3 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 16 ) [57] => MoveLine Object ( [movenum] => 51 [move] => K-b1 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 17 ) [58] => MoveLine Object ( [movenum] => 52 [move] => k-b7 [level] => 0 [comment] => //from move nine [length] => 27 [newturn] => [turn] => 17 ) [59] => MoveLine Object ( [movenum] => 53 [move] => f1-a6 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 18 ) [60] => MoveLine Object ( [movenum] => 54 [move] => b7-a6 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 18 ) [61] => MoveLine Object ( [movenum] => 55 [move] => h1-e1 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 19 ) [62] => MoveLine Object ( [movenum] => 56 [move] => e8-g8;h8-f8 [level] => 0 [comment] => [length] => 17 [newturn] => [turn] => 19 ) [63] => MoveLine Object ( [movenum] => 57 [move] => Q-a4 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 20 ) [64] => MoveLine Object ( [movenum] => 58 [move] => a6-b7 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 20 ) [65] => MoveLine Object ( [movenum] => 59 [move] => e1-e3 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 21 ) [66] => MoveLine Object ( [movenum] => 60 [move] => b8-c6 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 21 ) [67] => MoveLine Object ( [movenum] => 61 [move] => e3-e2 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 22 ) [68] => MoveLine Object ( [movenum] => 62 [move] => a7-a6 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 22 ) [69] => MoveLine Object ( [movenum] => 63 [move] => f3-d4 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 23 ) [70] => MoveLine Object ( [movenum] => 64 [move] => c6-d4 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 23 ) [71] => MoveLine Object ( [movenum] => 65 [move] => a4-d4 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 24 ) [72] => MoveLine Object ( [movenum] => 66 [move] => a8-d8 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 24 ) [73] => MoveLine Object ( [movenum] => 67 [move] => K-c3 [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 25 ) [74] => MoveLine Object ( [movenum] => 68 [move] => d8-d4 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 25 ) [75] => MoveLine Object ( [movenum] => 69 [move] => c3-d4 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 26 ) [76] => MoveLine Object ( [movenum] => 70 [move] => f8-d8 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 26 ) [77] => MoveLine Object ( [movenum] => 71 [move] => d4-c3 [level] => 0 [comment] => [length] => 9 [newturn] => 1 [turn] => 27 ) [78] => MoveLine Object ( [movenum] => 72 [move] => d8-d1 [level] => 0 [comment] => //mate good game [length] => 28 [newturn] => [turn] => 27 ) [79] => MoveLine Object ( [movenum] => 73 [move] => lost [level] => 0 [comment] => [length] => 8 [newturn] => 1 [turn] => 28 ) )allmoves
Array ( [0] => moveindex 79;MOVE: lost [1] => moveindex 78;MOVE: d8-d1 [2] => moveindex 77;MOVE: d4-c3 [3] => moveindex 76;MOVE: f8-d8 [4] => moveindex 75;MOVE: c3-d4 [5] => moveindex 74;MOVE: d8-d4 [6] => moveindex 73;MOVE: K-c3 [7] => moveindex 72;MOVE: a8-d8 [8] => moveindex 71;MOVE: a4-d4 [9] => moveindex 70;MOVE: c6-d4 [10] => moveindex 69;MOVE: f3-d4 [11] => moveindex 68;MOVE: a7-a6 [12] => moveindex 67;MOVE: e3-e2 [13] => moveindex 66;MOVE: b8-c6 [14] => moveindex 65;MOVE: e1-e3 [15] => moveindex 64;MOVE: a6-b7 [16] => moveindex 63;MOVE: Q-a4 [17] => moveindex 62;MOVE: e8-g8; MOVE: h8-f8 [18] => moveindex 61;MOVE: h1-e1 [19] => moveindex 60;MOVE: b7-a6 [20] => moveindex 59;MOVE: f1-a6 [21] => moveindex 58;MOVE: k-b7 [22] => moveindex 57;MOVE: K-b1 [23] => moveindex 56;MOVE: e7-e3 [24] => moveindex 55;MOVE: d2-f3 [25] => moveindex 54;MOVE: e4-f3 [26] => moveindex 53;MOVE: e1- [27] => moveindex 52;MOVE: b7-e4 [28] => moveindex 51;MOVE: d3-e4 [29] => moveindex 50;MOVE: d5-e4 [30] => moveindex 49;MOVE: d1- [31] => moveindex 48;MOVE: d7-d5 [32] => moveindex 47;MOVE: b1-d2 [33] => moveindex 46;MOVE: d8-e7 [34] => moveindex 45;MOVE: g5-e7 [35] => moveindex 44;MOVE: c5-e7 [36] => moveindex 43;MOVE: c1-g5 [37] => moveindex 42;MOVE: g8- [38] => moveindex 41;MOVE: d2-d3 [39] => moveindex 40;MOVE: k-g8 [40] => moveindex 39;MOVE: pass [41] => moveindex 38;MOVE: c8-b7 [42] => moveindex 28;MOVE: d5- [43] => moveindex 27;MOVE: b7-b6 [44] => moveindex 26;MOVE: K-d5 [45] => moveindex 12;MOVE: e5-d4 [46] => moveindex 11;MOVE: d3-d4 [47] => moveindex 10;MOVE: f6-g4 [48] => moveindex 9;MOVE: g1-f3 [49] => moveindex 8;MOVE: f8-c5 [50] => moveindex 7;MOVE: P-d3 [51] => moveindex 6;MOVE: g8-f6 [52] => moveindex 5;MOVE: f2- [53] => moveindex 1;MOVE: e7-e5 [54] => moveindex 0;MOVE: e2-e4 )movelist
1. e2-e4 1... e7-e5 | 2. f2- | // To move 2. | 2... g8-f6 2. f2- 2... g8-f6 3. P-d3 3... f8-c5 4. g1-f3 4... f6-g4 5. d3-d4 5... e5-d4 | 6. d2-d3 | 6... d8- // Move 8 | 7. e1- | // To move 9. | 7... g4-f2 | 8. d1-e1 || 8... f2-h1 || 9. K-d1 || // From move 7 | 8... q-d1 // from move 6 ,sorry I forgot to to this last time | 9. K-g1 | // From move 7. | 9... d1-e1 6. K-d5 6... b7-b6 7. d5- | 7... d8- //move 9 | 8. f1-c4 | 8... e8-g8;h8-f8 | 9. c4-f7 | 9... f8-f7 //well played | 10. d2-d3 | // Thanks. I learned that tactic from the inventor of this | // variant who played such things against me with equally | // devastating effect. 7... c8-b7 8. pass 8... k-g8 // sorry wasn't thinking 9. d2-d3 9... g8- 10. c1-g5 10... c5-e7 11. g5-e7 11... d8-e7 12. b1-d2 12... d7-d5 13. d1- 13... d5-e4 14. d3-e4 14... b7-e4 15. e1- 15... e4-f3 16. d2-f3 16... e7-e3 17. K-b1 17... k-b7 //from move nine 18. f1-a6 18... b7-a6 19. h1-e1 19... e8-g8;h8-f8 20. Q-a4 20... a6-b7 21. e1-e3 21... b8-c6 22. e3-e2 22... a7-a6 23. f3-d4 23... c6-d4 24. a4-d4 24... a8-d8 25. K-c3 25... d8-d4 26. c3-d4 26... f8-d8 27. d4-c3 27... d8-d1 //mate good game 28. lostconstants
Array ( )