Syntax Error on line 58

MOVE: Q d1-e2 is not a valid expression, because Q 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 1
   1 MOVE: P e2-e4
   2 moveindex 2
   3 MOVE: e7-e5
   4 moveindex 3
   5 MOVE: N g1-f3
   6 moveindex 4
   7 MOVE: f8-d6
   8 moveindex 5
   9 MOVE: B f1-c4
  10 moveindex 6
  11 MOVE: g8-f6
  12 moveindex 7
  13 MOVE: N b1-c3
  14 moveindex 8
  15 MOVE: e8-g8
  16 MOVE:  h8-f8
  17 moveindex 9
  18 MOVE: d2-
  19 moveindex 10
  20 MOVE: c7-c6
  21 moveindex 11
  22 MOVE: f2-
  23 moveindex 12
  24 MOVE: d6-c5
  25 moveindex 13
  26 MOVE: N f3-e5
  27 moveindex 14
  28 MOVE: d7-d5
  29 moveindex 15
  30 MOVE: P e4-d5
  31 moveindex 16
  32 MOVE: f8-e8
  33 moveindex 17
  34 MOVE: N c3-e2
  35 moveindex 18
  36 MOVE: e8-e5
  37 moveindex 19
  38 MOVE: P-d4
  39 moveindex 20
  40 MOVE: e5-d5
  41 moveindex 21
  42 MOVE: B c4-d5
  43 moveindex 22
  44 MOVE: d8-d5
  45 moveindex 23
  46 MOVE: P-f3
  47 moveindex 24
  48 MOVE: c5-b6
  49 moveindex 25
  50 MOVE: B c1-e3
  51 moveindex 26
  52 MOVE: c8-f5
  53 moveindex 27
  54 MOVE: N e2-c3
  55 moveindex 28
  56 MOVE: d5-c4
  57 moveindex 29
  58 MOVE: Q d1-e2
  59 moveindex 30
  60 MOVE: c4-e2
  61 moveindex 31
  62 MOVE: K e1-e2
  63 moveindex 32
  64 MOVE: b8-a6
  65 moveindex 33
  66 MOVE: K e2-d2
  67 moveindex 39
  68 MOVE: a6-c7
  69 moveindex 40
  70 MOVE: c3-
  71 moveindex 41
  72 MOVE: a8-e8
  73 moveindex 42
  74 MOVE: R h1-e1
  75 moveindex 43
  76 MOVE: c7-d5
  77 moveindex 44
  78 MOVE: P c2-c3
  79 moveindex 45
  80 MOVE: d5-e3
  81 moveindex 46
  82 MOVE: N-d6
  83 moveindex 47
  84 MOVE: e3-c4
  85 moveindex 48
  86 MOVE: N d6-c4
  87 moveindex 49
  88 MOVE: e8-e1
  89 moveindex 50
  90 MOVE: R a1-e1
  91 moveindex 51
  92 MOVE: f5-d7
  93 moveindex 52
  94 MOVE: N c4-b6
  95 moveindex 53
  96 MOVE: a7-b6
  97 moveindex 80
  98 MOVE: K-c7
  99 moveindex 81
 100 MOVE: resign
 101 end
 102 

functions

uservar

Array ( [0] => Array ( [main] => Array ( ) ) )

mline

Array ( [0] => MoveLine Object ( [movenum] => 0 [move] => [level] => 0 [comment] => [length] => 0 [newturn] => [turn] => 0 ) [1] => MoveLine Object ( [movenum] => 1 [move] => P e2-e4 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 1 ) [2] => MoveLine Object ( [movenum] => 2 [move] => e7-e5 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 1 ) [3] => MoveLine Object ( [movenum] => 3 [move] => N g1-f3 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 2 ) [4] => MoveLine Object ( [movenum] => 4 [move] => f8-d6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 2 ) [5] => MoveLine Object ( [movenum] => 5 [move] => B f1-c4 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 3 ) [6] => MoveLine Object ( [movenum] => 6 [move] => g8-f6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 3 ) [7] => MoveLine Object ( [movenum] => 7 [move] => N b1-c3 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 4 ) [8] => MoveLine Object ( [movenum] => 8 [move] => e8-g8; h8-f8 [level] => 0 [comment] => [length] => 17 [newturn] => [turn] => 4 ) [9] => MoveLine Object ( [movenum] => 9 [move] => d2- [level] => 0 [comment] => // to move 10 [length] => 20 [newturn] => 1 [turn] => 5 ) [10] => MoveLine Object ( [movenum] => 10 [move] => c7-c6 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 5 ) [11] => MoveLine Object ( [movenum] => 11 [move] => f2- [level] => 0 [comment] => // to move 12 [length] => 20 [newturn] => 1 [turn] => 6 ) [12] => MoveLine Object ( [movenum] => 12 [move] => d6-c5 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 6 ) [13] => MoveLine Object ( [movenum] => 13 [move] => N f3-e5 [level] => 0 [comment] => // NxP [length] => 17 [newturn] => 1 [turn] => 7 ) [14] => MoveLine Object ( [movenum] => 14 [move] => d7-d5 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 7 ) [15] => MoveLine Object ( [movenum] => 15 [move] => P e4-d5 [level] => 0 [comment] => // PxP [length] => 17 [newturn] => 1 [turn] => 8 ) [16] => MoveLine Object ( [movenum] => 16 [move] => f8-e8 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 8 ) [17] => MoveLine Object ( [movenum] => 17 [move] => N c3-e2 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 9 ) [18] => MoveLine Object ( [movenum] => 18 [move] => e8-e5 [level] => 0 [comment] => [length] => 10 [newturn] => [turn] => 9 ) [19] => MoveLine Object ( [movenum] => 19 [move] => P-d4 [level] => 0 [comment] => // from move 5. [length] => 24 [newturn] => 1 [turn] => 10 ) [20] => MoveLine Object ( [movenum] => 20 [move] => e5-d5 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 10 ) [21] => MoveLine Object ( [movenum] => 21 [move] => B c4-d5 [level] => 0 [comment] => // BxR [length] => 18 [newturn] => 1 [turn] => 11 ) [22] => MoveLine Object ( [movenum] => 22 [move] => d8-d5 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 11 ) [23] => MoveLine Object ( [movenum] => 23 [move] => P-f3 [level] => 0 [comment] => // from move 6. [length] => 24 [newturn] => 1 [turn] => 12 ) [24] => MoveLine Object ( [movenum] => 24 [move] => c5-b6 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 12 ) [25] => MoveLine Object ( [movenum] => 25 [move] => B c1-e3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 13 ) [26] => MoveLine Object ( [movenum] => 26 [move] => c8-f5 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 13 ) [27] => MoveLine Object ( [movenum] => 27 [move] => N e2-c3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 14 ) [28] => MoveLine Object ( [movenum] => 28 [move] => d5-c4 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 14 ) [29] => MoveLine Object ( [movenum] => 29 [move] => Q d1-e2 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 15 ) [30] => MoveLine Object ( [movenum] => 30 [move] => c4-e2 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 15 ) [31] => MoveLine Object ( [movenum] => 31 [move] => K e1-e2 [level] => 0 [comment] => // KxQ [length] => 18 [newturn] => 1 [turn] => 16 ) [32] => MoveLine Object ( [movenum] => 32 [move] => b8-a6 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 16 ) [33] => MoveLine Object ( [movenum] => 33 [move] => K e2-d2 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 17 ) [34] => MoveLine Object ( [movenum] => 34 [move] => a6- [level] => 1 [comment] => [length] => 11 [newturn] => [turn] => 17 ) [35] => MoveLine Object ( [movenum] => 34 [move] => [level] => 1 [comment] => // To move 18 [length] => 15 [newturn] => [turn] => 17 ) [36] => MoveLine Object ( [movenum] => 35 [move] => b2-b3 [level] => 1 [comment] => [length] => 11 [newturn] => 1 [turn] => 18 ) [37] => MoveLine Object ( [movenum] => 36 [move] => n-d5 [level] => 1 [comment] => [length] => 12 [newturn] => [turn] => 18 ) [38] => MoveLine Object ( [movenum] => 37 [move] => N c3-d5 [level] => 1 [comment] => // NxN [length] => 20 [newturn] => 1 [turn] => 19 ) [39] => MoveLine Object ( [movenum] => 38 [move] => a6-c7 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 17 ) [40] => MoveLine Object ( [movenum] => 39 [move] => c3- [level] => 0 [comment] => // To move 21 [length] => 21 [newturn] => 1 [turn] => 18 ) [41] => MoveLine Object ( [movenum] => 40 [move] => a8-e8 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 18 ) [42] => MoveLine Object ( [movenum] => 41 [move] => R h1-e1 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 19 ) [43] => MoveLine Object ( [movenum] => 42 [move] => c7-d5 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 19 ) [44] => MoveLine Object ( [movenum] => 43 [move] => P c2-c3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 20 ) [45] => MoveLine Object ( [movenum] => 44 [move] => d5-e3 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 20 ) [46] => MoveLine Object ( [movenum] => 45 [move] => N-d6 [level] => 0 [comment] => // from 18. [length] => 20 [newturn] => 1 [turn] => 21 ) [47] => MoveLine Object ( [movenum] => 46 [move] => e3-c4 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 21 ) [48] => MoveLine Object ( [movenum] => 47 [move] => N d6-c4 [level] => 0 [comment] => // NxN [length] => 18 [newturn] => 1 [turn] => 22 ) [49] => MoveLine Object ( [movenum] => 48 [move] => e8-e1 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 22 ) [50] => MoveLine Object ( [movenum] => 49 [move] => R a1-e1 [level] => 0 [comment] => // RxR [length] => 18 [newturn] => 1 [turn] => 23 ) [51] => MoveLine Object ( [movenum] => 50 [move] => f5-d7 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 23 ) [52] => MoveLine Object ( [movenum] => 51 [move] => N c4-b6 [level] => 0 [comment] => // NxB [length] => 18 [newturn] => 1 [turn] => 24 ) [53] => MoveLine Object ( [movenum] => 52 [move] => a7-b6 [level] => 0 [comment] => [length] => 11 [newturn] => [turn] => 24 ) [54] => MoveLine Object ( [movenum] => 53 [move] => P c3- [level] => 1 [comment] => // to 26. [length] => 21 [newturn] => 1 [turn] => 25 ) [55] => MoveLine Object ( [movenum] => 54 [move] => f6-e8 [level] => 2 [comment] => [length] => 14 [newturn] => [turn] => 25 ) [56] => MoveLine Object ( [movenum] => 55 [move] => P-a7 [level] => 2 [comment] => // from 25 [length] => 22 [newturn] => 1 [turn] => 26 ) [57] => MoveLine Object ( [movenum] => 56 [move] => e8-c7 [level] => 2 [comment] => [length] => 14 [newturn] => [turn] => 26 ) [58] => MoveLine Object ( [movenum] => 57 [move] => R e1-e7 [level] => 2 [comment] => [length] => 14 [newturn] => 1 [turn] => 27 ) [59] => MoveLine Object ( [movenum] => 58 [move] => k-a8 [level] => 1 [comment] => [length] => 12 [newturn] => [turn] => 25 ) [60] => MoveLine Object ( [movenum] => 58 [move] => [level] => 1 [comment] => // From the future. [length] => 21 [newturn] => [turn] => 25 ) [61] => MoveLine Object ( [movenum] => 59 [move] => P-e7 [level] => 1 [comment] => // from 25 [length] => 21 [newturn] => 1 [turn] => 26 ) [62] => MoveLine Object ( [movenum] => 60 [move] => f7- [level] => 2 [comment] => [length] => 12 [newturn] => [turn] => 26 ) [63] => MoveLine Object ( [movenum] => 60 [move] => [level] => 2 [comment] => // To 27. [length] => 12 [newturn] => [turn] => 26 ) [64] => MoveLine Object ( [movenum] => 61 [move] => P e7-e8; Q-e8 [level] => 3 [comment] => // Check. [length] => 31 [newturn] => 1 [turn] => 27 ) [65] => MoveLine Object ( [movenum] => 62 [move] => d7-e8 [level] => 3 [comment] => [length] => 15 [newturn] => [turn] => 27 ) [66] => MoveLine Object ( [movenum] => 62 [move] => [level] => 3 [comment] => // My pawn is lost in time because there is no way I can [length] => 60 [newturn] => [turn] => 27 ) [67] => MoveLine Object ( [movenum] => 62 [move] => [level] => 3 [comment] => // legally place it on the board since pawns aren't [length] => 55 [newturn] => [turn] => 27 ) [68] => MoveLine Object ( [movenum] => 62 [move] => [level] => 3 [comment] => // allowed to [length] => 17 [newturn] => [turn] => 27 ) [69] => MoveLine Object ( [movenum] => 62 [move] => [level] => 3 [comment] => // be placed on the first or eighth ranks. [length] => 46 [newturn] => [turn] => 27 ) [70] => MoveLine Object ( [movenum] => 63 [move] => K-d8 [level] => 2 [comment] => // from the future [length] => 30 [newturn] => 1 [turn] => 27 ) [71] => MoveLine Object ( [movenum] => 63 [move] => [level] => 2 [comment] => // Since it is now Turn 27 again, your pawn is no longer lost [length] => 64 [newturn] => 1 [turn] => 27 ) [72] => MoveLine Object ( [movenum] => 63 [move] => [level] => 2 [comment] => // in time. [length] => 14 [newturn] => 1 [turn] => 27 ) [73] => MoveLine Object ( [movenum] => 64 [move] => p-c3 [level] => 2 [comment] => [length] => 13 [newturn] => [turn] => 27 ) [74] => MoveLine Object ( [movenum] => 64 [move] => [level] => 2 [comment] => // Right you are. So here he is, back by popular demand, all [length] => 63 [newturn] => [turn] => 27 ) [75] => MoveLine Object ( [movenum] => 64 [move] => [level] => 2 [comment] => // the way from move 26 to move 27! What a flight he had the [length] => 63 [newturn] => [turn] => 27 ) [76] => MoveLine Object ( [movenum] => 64 [move] => [level] => 2 [comment] => // little guy. Lotta turbulence. [length] => 35 [newturn] => [turn] => 27 ) [77] => MoveLine Object ( [movenum] => 65 [move] => P b2-c3 [level] => 2 [comment] => // PxP [length] => 21 [newturn] => 1 [turn] => 28 ) [78] => MoveLine Object ( [movenum] => 66 [move] => k-c8 [level] => 1 [comment] => [length] => 12 [newturn] => [turn] => 26 ) [79] => MoveLine Object ( [movenum] => 66 [move] => [level] => 1 [comment] => // FTF [length] => 8 [newturn] => [turn] => 26 ) [80] => MoveLine Object ( [movenum] => 67 [move] => K-c7 [level] => 0 [comment] => // from the future [length] => 27 [newturn] => 1 [turn] => 25 ) [81] => MoveLine Object ( [movenum] => 68 [move] => resign [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 25 ) )

allmoves

Array ( [0] => moveindex 81;MOVE: resign [1] => moveindex 80;MOVE: K-c7 [2] => moveindex 53;MOVE: a7-b6 [3] => moveindex 52;MOVE: N c4-b6 [4] => moveindex 51;MOVE: f5-d7 [5] => moveindex 50;MOVE: R a1-e1 [6] => moveindex 49;MOVE: e8-e1 [7] => moveindex 48;MOVE: N d6-c4 [8] => moveindex 47;MOVE: e3-c4 [9] => moveindex 46;MOVE: N-d6 [10] => moveindex 45;MOVE: d5-e3 [11] => moveindex 44;MOVE: P c2-c3 [12] => moveindex 43;MOVE: c7-d5 [13] => moveindex 42;MOVE: R h1-e1 [14] => moveindex 41;MOVE: a8-e8 [15] => moveindex 40;MOVE: c3- [16] => moveindex 39;MOVE: a6-c7 [17] => moveindex 33;MOVE: K e2-d2 [18] => moveindex 32;MOVE: b8-a6 [19] => moveindex 31;MOVE: K e1-e2 [20] => moveindex 30;MOVE: c4-e2 [21] => moveindex 29;MOVE: Q d1-e2 [22] => moveindex 28;MOVE: d5-c4 [23] => moveindex 27;MOVE: N e2-c3 [24] => moveindex 26;MOVE: c8-f5 [25] => moveindex 25;MOVE: B c1-e3 [26] => moveindex 24;MOVE: c5-b6 [27] => moveindex 23;MOVE: P-f3 [28] => moveindex 22;MOVE: d8-d5 [29] => moveindex 21;MOVE: B c4-d5 [30] => moveindex 20;MOVE: e5-d5 [31] => moveindex 19;MOVE: P-d4 [32] => moveindex 18;MOVE: e8-e5 [33] => moveindex 17;MOVE: N c3-e2 [34] => moveindex 16;MOVE: f8-e8 [35] => moveindex 15;MOVE: P e4-d5 [36] => moveindex 14;MOVE: d7-d5 [37] => moveindex 13;MOVE: N f3-e5 [38] => moveindex 12;MOVE: d6-c5 [39] => moveindex 11;MOVE: f2- [40] => moveindex 10;MOVE: c7-c6 [41] => moveindex 9;MOVE: d2- [42] => moveindex 8;MOVE: e8-g8; MOVE: h8-f8 [43] => moveindex 7;MOVE: N b1-c3 [44] => moveindex 6;MOVE: g8-f6 [45] => moveindex 5;MOVE: B f1-c4 [46] => moveindex 4;MOVE: f8-d6 [47] => moveindex 3;MOVE: N g1-f3 [48] => moveindex 2;MOVE: e7-e5 [49] => moveindex 1;MOVE: P e2-e4 )

movelist

1. P e2-e4 1... e7-e5 2. N g1-f3 2... f8-d6 3. B f1-c4 3... g8-f6 4. N b1-c3 4... e8-g8; h8-f8 5. d2- // to move 10 5... c7-c6 6. f2- // to move 12 6... d6-c5 7. N f3-e5 // NxP 7... d7-d5 8. P e4-d5 // PxP 8... f8-e8 9. N c3-e2 9... e8-e5 10. P-d4 // from move 5. 10... e5-d5 11. B c4-d5 // BxR 11... d8-d5 12. P-f3 // from move 6. 12... c5-b6 13. B c1-e3 13... c8-f5 14. N e2-c3 14... d5-c4 15. Q d1-e2 15... c4-e2 16. K e1-e2 // KxQ 16... b8-a6 17. K e2-d2 | 17... a6- | // To move 18 | 18. b2-b3 | 18... n-d5 | 19. N c3-d5 // NxN 17... a6-c7 18. c3- // To move 21 18... a8-e8 19. R h1-e1 19... c7-d5 20. P c2-c3 20... d5-e3 21. N-d6 // from 18. 21... e3-c4 22. N d6-c4 // NxN 22... e8-e1 23. R a1-e1 // RxR 23... f5-d7 24. N c4-b6 // NxB 24... a7-b6 | 25. P c3- // to 26. || 25... f6-e8 || 26. P-a7 // from 25 || 26... e8-c7 || 27. R e1-e7 | 25... k-a8 | // From the future. | 26. P-e7 // from 25 || 26... f7- || // To 27. ||| 27. P e7-e8; Q-e8 // Check. ||| 27... d7-e8 ||| // My pawn is lost in time because there is no way I can ||| // legally place it on the board since pawns aren't ||| // allowed to ||| // be placed on the first or eighth ranks. || 27. K-d8 // from the future || // Since it is now Turn 27 again, your pawn is no longer lost || // in time. || 27... p-c3 || // Right you are. So here he is, back by popular demand, all || // the way from move 26 to move 27! What a flight he had the || // little guy. Lotta turbulence. || 28. P b2-c3 // PxP | 26... k-c8 | // FTF 25. K-c7 // from the future 25... resign

constants

Array ( )