Syntax Error on line 442

Expected argument for capture could not be found.

Edit the Settings File for Seirawan 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 sub postauto1
   1   set legal true
   2   if isupper old
   3     die You may not capture your own pieces.
   4   endif
   5   empty i8
   6   if equal moved P
   7     set legal false
   8     if not capture
   9       set  legal checkaleap origin dest 0 1
  10       if not var legal
  11         set legal and equal rankname origin 2 checkatwostep origin dest 0 1 0 1
  12       endif
  13       if not var legal
  14         set legal and equal rankname origin 5
or checkaleap origin dest 1 1
checkaleap origin dest neg 1 1
  15         if var legal
  16           if equal filename dest a
  17             capture a5
  18           elseif equal filename dest b
  19             capture b5
  20           elseif equal filename dest c
  21             capture c5
  22           elseif equal filename dest d
  23             capture d5
  24           elseif equal filename dest e
  25             capture e5
  26           elseif equal filename dest f
  27             capture f5
  28           elseif equal filename dest g
  29             capture g5
  30           elseif equal filename dest h
  31             capture h5
  32           endif
  33         endif
  34       endif
  35     else
  36       set legal or checkaleap origin dest 1 1 checkaleap origin dest neg 1 1
  37     endif
  38     if and var legal and equal rankname dest 8 not or equal Q space dest or equal M space dest
or equal A space dest or equal R space dest or equal B space dest equal N space dest
  39       askpromote Q M A R B N
  40     endif
  41   elseif equal moved N
  42     set legal checkleap origin dest 1 2
  43     if and var legal not equal W~ space j1
  44       if equal origin b1
  45         if and not equal @ space j3 not equal @ space j4
  46           ask "Do you want to add an" "Elephant" "add M b1;add W~ j1;capture j4"
"Hawk" "add A b1;add W~ j1;capture j3" "neither" "add W~ j1"
  47         elseif not equal @ space j3
  48           ask "Do you want to add an" "Hawk" "add A b1;add W~ j1;capture j3" "no" "add W~ j1"
  49         elseif not equal @ space j4
  50           ask "Do you want to add an" "Elephant" "add M b1;add W~ j1;capture j4" "no" "add W~ j1"
  51         else
  52           set legal true
  53           add W~ j1
  54         endif
  55       elseif equal origin g1
  56         if and not equal @ space j3 not equal @ space j4
  57           ask "Do you want to add an" "Elephant" "add M g1;add W~ j1;capture j4"
"Hawk" "add A g1;add W~ j1;capture j3" "neither" "add W~ j1"
  58         elseif not equal @ space j3
  59           ask "Do you want to add an" "Hawk" "add A g1;add W~ j1;capture j3" "no" "add W~ j1"
  60         elseif not equal @ space j4
  61           ask "Do you want to add an" "Elephant" "add M g1;add W~ j1;capture j4" "no" "add W~ j1"
  62         else
  63           set legal true
  64           add W~ j1
  65         endif
  66       endif
  67     endif
  68   elseif equal moved B
  69     set legal checkride origin dest 1 1
  70     if and var legal not equal W~ space j1
  71       if equal origin c1
  72         if and not equal @ space j3 not equal @ space j4
  73           ask "Do you want to add an" "Elephant" "add M c1;add W~ j1;capture j4"
"Hawk" "add A c1;add W~ j1;capture j3" "neither" "add W~ j1"
  74         elseif not equal @ space j3
  75           ask "Do you want to add an" "Hawk" "add A c1;add W~ j1;capture j3" "no" "add W~ j1"
  76         elseif not equal @ space j4
  77           ask "Do you want to add an" "Elephant" "add M c1;add W~ j1;capture j4" "no" "add W~ j1"
  78         else
  79           set legal true
  80           add W~ j1
  81         endif
  82       elseif equal origin f1
  83         if and not equal @ space j3 not equal @ space j4
  84           ask "Do you want to add an" "Elephant" "add M f1;add W~ j1;capture j4"
"Hawk" "add A f1;add W~ j1;capture j3" "neither" "add W~ j1"
  85         elseif not equal @ space j3
  86           ask "Do you want to add an" "Hawk" "add A f1;add W~ j1;capture j3" "no" "add W~ j1"
  87         elseif not equal @ space j4
  88           ask "Do you want to add an" "Elephant" "add M f1;add W~ j1;capture j4" "no" "add W~ j1"
  89         else
  90           set legal true
  91           add W~ j1
  92         endif
  93       endif
  94     endif
  95   elseif equal moved R
  96     set legal checkride origin dest 1 0
  97     if and var legal not equal W~ space j1
  98       if equal origin h1
  99         if and not equal @ space j3 not equal @ space j4
 100           ask "Do you want to add an" "Elephant" "add M h1;add W~ j1;capture j4"
"Hawk" "add A h1;add W~ j1;capture j3" "neither" "add W~ j1"
 101         elseif not equal @ space j3
 102           ask "Do you want to add an" "Hawk" "add A h1;add W~ j1;capture j3" "no" "add W~ j1"
 103         elseif not equal @ space j4
 104           ask "Do you want to add an" "Elephant" "add M h1;add W~ j1;capture j4" "no" "add W~ j1"
 105         else
 106           set legal true
 107           add W~ j1
 108         endif
 109       elseif equal origin a1
 110         if and not equal @ space j3 not equal @ space j4
 111           ask "Do you want to add an" "Elephant" "add M a1;add W~ j1;capture j4"
"Hawk" "add A a1;add W~ j1;capture j3" "neither" "add W~ j1"
 112         elseif not equal @ space j3
 113           ask "Do you want to add an" "Hawk" "add A a1;add W~ j1;capture j3" "no" "add W~ j1"
 114         elseif not equal @ space j4
 115           ask "Do you want to add an" "Elephant" "add M a1;add W~ j1;capture j4" "no" "add W~ j1"
 116         else
 117           set legal true
 118           add W~ j1
 119         endif
 120       endif
 121     endif
 122   elseif equal moved Q
 123     set legal or checkride origin dest 1 1 checkride origin dest 1 0
 124     if and var legal and equal origin d1 not equal W~ space j1
 125       if and not equal @ space j3 not equal @ space j4
 126         ask "Do you want to add an" "Elephant" "add M d1;add W~ j1;capture j4"
"Hawk" "add A d1;add W~ j1;capture j3" "neither" "add W~ j1"
 127       elseif not equal @ space j3
 128         ask "Do you want to add an" "Hawk" "add A d1;add W~ j1;capture j3" "no" "add W~ j1"
 129       elseif not equal @ space j4
 130         ask "Do you want to add an" "Elephant" "add M d1;add W~ j1;capture j4" "no" "add W~ j1"
 131       else
 132         set legal true
 133         add W~ j1
 134       endif
 135     endif
 136   elseif equal moved K
 137     set legal or checkleap origin dest 1 1 checkleap origin dest 1 0
 138     if and var legal and equal origin e1 not equal W~ space j1
 139       if and not equal @ space j3 not equal @ space j4
 140         ask "Do you want to add an" "Elephant" "add M e1;add W~ j1;capture j4"
"Hawk" "add A e1;add W~ j1;capture j3" "neither" "add W~ j1"
 141       elseif not equal @ space j3
 142         ask "Do you want to add an" "Hawk" "add A e1;add W~ j1;capture j3" "no" "add W~ j1"
 143       elseif not equal @ space j4
 144         ask "Do you want to add an" "Elephant" "add M e1;add W~ j1;capture j4" "no" "add W~ j1"
 145       else
 146         set legal true
 147         add W~ j1
 148       endif
 149     endif
 150     if and not var legal and equal file origin 6 equal rankname origin 1
 151       if equal file dest 8
 152         add R f1
 153         if not equal W~ space j1
 154           if and not equal @ space j3 not equal @ space j4
 155             ask "Do you want to add an" "Elephant on e1" "add M e1;capture j4;empty h1;add W~ j1"
"Elephant on h1" "add M h1;capture j4;add W~ j1"
"Hawk on e1" "add A e1;capture j3;empty h1;add W~ j1"
"Hawk on h1" "add A h1;capture j3;add W~ j1"
"neither"    "empty h1;add W~ j1"
 156           elseif not equal @ space j3
 157             ask "Do you want to add an" "Hawk on e1" "add A e1;capture j3;empty h1;add W~ j1"
"Hawk on h1" "add A h1;capture j3;add W~ j1"
"neither"    "empty h1;add W~ j1"
 158           elseif not equal @ space j4
 159             ask "Do you want to add an" "Elephant on e1" "add M e1;capture j4;empty h1;add W~ j1"
"Elephant on h1" "add M h1;capture j4;add W~ j1"
"neither"    "empty h1;add W~ j1"
 160           else
 161             empty h1
 162             set legal true
 163           endif
 164         endif
 165         set legal true
 166       elseif equal file dest 4
 167         add R d1
 168         if not equal W~ space j1
 169           if and not equal @ space j3 not equal @ space j4
 170             ask "Do you want to add an" "Elephant on e1" "add M e1;capture j4;empty a1;add W~ j1"
"Elephant on a1" "add M a1;capture j4;add W~ j1"
"Hawk on e1" "add A e1;capture j3;empty a1;add W~ j1"
"Hawk on a1" "add A a1;capture j3;add W~ j1"
"neither"    "empty a1;add W~ j1"
 171           elseif not equal @ space j3
 172             ask "Do you want to add an" "Hawk on e1" "add A e1;capture j3;empty a1;add W~ j1"
"Hawk on a1" "add A a1;capture j3;add W~ j1"
"neither"    "empty a1;add W~ j1"
 173           elseif not equal @ space j4
 174             ask "Do you want to add an" "Elephant on e1" "add M e1;capture j4;empty a1;add W~ j1"
"Elephant on a1" "add M a1;capture j4;add W~ j1"
"neither"    "empty a1;add W~ j1"
 175           else
 176             empty a1
 177             set legal true
 178           endif
 179         endif
 180       endif
 181       set legal true
 182     endif
 183   elseif equal moved A
 184     if equal filename origin j
 185       set legal false
 186     else
 187       set legal checkleap origin dest 1 2
 188       if not var legal
 189         set legal checkride origin dest 1 1
 190       endif
 191     endif
 192   elseif equal moved M
 193     if equal filename origin j
 194       set legal false
 195     else
 196       set legal checkleap origin dest 1 2
 197       if not var legal
 198         set legal or checkride origin dest 1 0
 199       endif
 200     endif
 201   endif
 202   if not var legal
 203     die Illegal move!
 204   endif
 205 endsub
 206 sub postauto2
 207   set legal true
 208   if islower old
 209     die You may not capture your own pieces.
 210   endif
 211   empty j1
 212   if equal moved p
 213     set legal false
 214     if not capture
 215       set  legal checkaleap origin dest 0 neg 1
 216       if not var legal
 217         set legal and equal rankname origin 7 checkatwostep origin dest 0 neg 1 0 neg 1
 218       endif
 219       if not var legal
 220         set legal and equal rankname origin 4
or checkaleap origin dest 1 neg 1
checkaleap origin dest neg 1 neg 1
 221         if var legal
 222           if equal filename dest a
 223             capture a4
 224           elseif equal filename dest b
 225             capture b4
 226           elseif equal filename dest c
 227             capture c4
 228           elseif equal filename dest d
 229             capture d4
 230           elseif equal filename dest e
 231             capture e4
 232           elseif equal filename dest f
 233             capture f4
 234           elseif equal filename dest g
 235             capture g4
 236           elseif equal filename dest h
 237             capture h4
 238           endif
 239         endif
 240       endif
 241     else
 242       set legal or checkaleap origin dest 1 neg 1 checkaleap origin dest neg 1 neg 1
 243     endif
 244     if and var legal and equal rankname dest 1 not or equal q space dest or equal m space dest
or equal a space dest or equal r space dest or equal b space dest equal n space dest
 245       askpromote q m a r b n
 246     endif
 247   elseif equal moved n
 248     set legal checkleap origin dest 1 2
 249     if and var legal not equal W~ space i8
 250       if equal origin b8
 251         if and not equal @ space i5 not equal @ space i6
 252           ask "Do you want to add an" "Elephant" "add m b8;add W~ i8;capture i5"
"Hawk" "add a b8;add W~ i8;capture i6" "neither" "add W~ i8"
 253         elseif not equal @ space i6
 254           ask "Do you want to add an" "Hawk" "add a b8;add W~ i8;capture i6" "no" "add W~ i8"
 255         elseif not equal @ space i5
 256           ask "Do you want to add an" "Elephant" "add m b8;add W~ i8;capture i5" "no" "add W~ i8"
 257         else
 258           set legal true
 259           add W~ i8
 260         endif
 261       elseif equal origin g8
 262         if and not equal @ space i5 not equal @ space i6
 263           ask "Do you want to add an" "Elephant" "add m g8;add W~ i8;capture i5"
"Hawk" "add a g8;add W~ i8;capture i6" "neither" "add W~ i8"
 264         elseif not equal @ space i6
 265           ask "Do you want to add an" "Hawk" "add a g8;add W~ i8;capture i6" "no" "add W~ i8"
 266         elseif not equal @ space i5
 267           ask "Do you want to add an" "Elephant" "add m g8;add W~ i8;capture i5" "no" "add W~ i8"
 268         else
 269           set legal true
 270           add W~ i8
 271         endif
 272       endif
 273     endif
 274   elseif equal moved b
 275     set legal checkride origin dest 1 1
 276     if and var legal not equal W~ space i8
 277       if equal origin c8
 278         if and not equal @ space i5 not equal @ space i6
 279           ask "Do you want to add an" "Elephant" "add m c8;add W~ i8;capture i5"
"Hawk" "add a c8;add W~ i8;capture i6" "neither" "add W~ i8"
 280         elseif not equal @ space i6
 281           ask "Do you want to add an" "Hawk" "add a c8;add W~ i8;capture i6" "no" "add W~ i8"
 282         elseif not equal @ space i5
 283           ask "Do you want to add an" "Elephant" "add m c8;add W~ i8;capture i5" "no" "add W~ i8"
 284         else
 285           set legal true
 286           add W~ i8
 287         endif
 288       elseif equal origin f8
 289         if and not equal @ space i5 not equal @ space i6
 290           ask "Do you want to add an" "Elephant" "add m f8;add W~ i8;capture i5"
"Hawk" "add a f8;add W~ i8;capture i6" "neither" "add W~ i8"
 291         elseif not equal @ space i6
 292           ask "Do you want to add an" "Hawk" "add a f8;add W~ i8;capture i6" "no" "add W~ i8"
 293         elseif not equal @ space i5
 294           ask "Do you want to add an" "Elephant" "add m f8;add W~ i8;capture i5" "no" "add W~ i8"
 295         else
 296           set legal true
 297           add W~ i8
 298         endif
 299       endif
 300     endif
 301   elseif equal moved r
 302     set legal checkride origin dest 1 0
 303     if and var legal not equal W~ space i8
 304       if equal origin h8
 305         if and not equal @ space i5 not equal @ space i6
 306           ask "Do you want to add an" "Elephant" "add m h8;add W~ i8;capture i5"
"Hawk" "add a h8;add W~ i8;capture i6" "neither" "add W~ i8"
 307         elseif not equal @ space i6
 308           ask "Do you want to add an" "Hawk" "add a h8;add W~ i8;capture i6" "no" "add W~ i8"
 309         elseif not equal @ space i5
 310           ask "Do you want to add an" "Elephant" "add m h8;add W~ i8;capture i5" "no" "add W~ i8"
 311         else
 312           set legal true
 313           add W~ i8
 314         endif
 315       elseif equal origin a8
 316         if and not equal @ space i5 not equal @ space i6
 317           ask "Do you want to add an" "Elephant" "add m a8;add W~ i8;capture i5"
"Hawk" "add a a8;add W~ i8;capture i6" "neither" "add W~ i8"
 318         elseif not equal @ space i6
 319           ask "Do you want to add an" "Hawk" "add a a8;add W~ i8;capture i6" "no" "add W~ i8"
 320         elseif not equal @ space i5
 321           ask "Do you want to add an" "Elephant" "add m a8;add W~ i8;capture i5" "no" "add W~ i8"
 322         else
 323           set legal true
 324           add W~ i8
 325         endif
 326       endif
 327     endif
 328   elseif equal moved q
 329     set legal or checkride origin dest 1 1 checkride origin dest 1 0
 330     if and var legal and equal origin d8 not equal W~ space i8
 331       if and not equal @ space i5 not equal @ space i6
 332         ask "Do you want to add an" "Elephant" "add m d8;add W~ i8;capture i5"
"Hawk" "add a d8;add W~ i8;capture i6" "neither" "add W~ i8"
 333       elseif not equal @ space i6
 334         ask "Do you want to add an" "Hawk" "add a d8;add W~ i8;capture i6" "no" "add W~ i8"
 335       elseif not equal @ space i5
 336         ask "Do you want to add an" "Elephant" "add m d8;add W~ i8;capture i5" "no" "add W~ i8"
 337       else
 338         set legal true
 339         add W~ i8
 340       endif
 341     endif
 342   elseif equal moved k
 343     set legal or checkleap origin dest 1 1 checkleap origin dest 1 0
 344     if and var legal and equal origin e8 not equal W~ space i8
 345       if and not equal @ space i5 not equal @ space i6
 346         ask "Do you want to add an" "Elephant" "add m e8;add W~ i8;capture i5"
"Hawk" "add a e8;add W~ i8;capture i6" "neither" "add W~ i8"
 347       elseif not equal @ space i6
 348         ask "Do you want to add an" "Hawk" "add a e8;add W~ i8;capture i6" "no" "add W~ i8"
 349       elseif not equal @ space i5
 350         ask "Do you want to add an" "Elephant" "add m e8;add W~ i8;capture i5" "no" "add W~ i8"
 351       else
 352         set legal true
 353         add W~ i8
 354       endif
 355     endif
 356     if and not var legal and equal file origin 6 equal rankname origin 8
 357       if equal file dest 8
 358         add r f8
 359         if not equal W~ space i8
 360           if and not equal @ space i5 not equal @ space i6
 361             ask "Do you want to add an" "Elephant on e8" "add m e8;capture i5;empty h8;add W~ i8"
"Elephant on h8" "add m h8;capture i5;add W~ i8"
"Hawk on e8" "add a e8;capture i6;empty h8;add W~ i8"
"Hawk on h8" "add a h8;capture i6;add W~ i8"
"neither"    "empty h8;add W~ i8"
 362           elseif not equal @ space i6
 363             ask "Do you want to add an" "Hawk on e8" "add a e8;capture i6;empty h8;add W~ i8"
"Hawk on h8" "add a h8;capture i6;add W~ i8"
"neither"    "empty h8;add W~ i8"
 364           elseif not equal @ space i5
 365             ask "Do you want to add an" "Elephant on e8" "add m e8;capture i5;empty h8;add W~ i8"
"Elephant on h8" "add m h8;capture i5;add W~ i8"
"neither" "empty h8;add W~ i8"
 366           else
 367             empty h8
 368             set legal true
 369           endif
 370         endif
 371         set legal true
 372       elseif equal file dest 4
 373         add r d8
 374         if not equal W~ space i8
 375           if and not equal @ space i5 not equal @ space i6
 376             ask "Do you want to add an" "Elephant on e8" "add m e8;capture i5;empty a8;add W~ i8"
"Elephant on a8" "add m a8;capture i5;add W~ i8"
"Hawk on e8" "add a e8;capture i6;empty a8;add W~ i8"
"Hawk on a8" "add a a8;capture i6;add W~ i8"
"neither"    "empty a8;add W~ i8"
 377           elseif not equal @ space i6
 378             ask "Do you want to add an" "Hawk on e8" "add a e8;capture i6;empty a8;add W~ i8"
"Hawk on a8" "add a a8;capture i6;add W~ i8"
"neither" "empty a8;add W~ i8"
 379           elseif not equal @ space i5
 380             ask "Do you want to add an" "Elephant on e8" "add m e8;capture i5;empty a8;add W~ i8"
"Elephant on a8" "add m a8;capture i5;add W~ i8"
"neither" "empty a8;add W~ i8"
 381           else
 382             empty a8
 383             set legal true
 384           endif
 385         endif
 386       endif
 387       set legal true
 388     endif
 389   elseif equal moved a
 390     if equal filename origin i
 391       set legal false
 392     else
 393       set legal checkleap origin dest 1 2
 394       if not var legal
 395         set legal checkride origin dest 1 1
 396       endif
 397     endif
 398   elseif equal moved m
 399     if equal filename origin i
 400       set legal false
 401     else
 402       set legal checkleap origin dest 1 2
 403       if not var legal
 404         set legal or checkride origin dest 1 0
 405       endif
 406     endif
 407   endif
 408   if not var legal
 409     die Illegal move!
 410   endif
 411 endsub
 412 moveindex 0
 413 MOVE: P e2-e4
 414 postauto1
 415 moveindex 6
 416 MOVE: p c7-c5
 417 postauto2
 418 moveindex 7
 419 MOVE: N g1-f3
 420 MOVE:  add W~ j1
 421 postauto1
 422 moveindex 8
 423 MOVE: n b8-c6
 424 MOVE:  add W~ i8
 425 postauto2
 426 moveindex 9
 427 MOVE: P d2-d4
 428 postauto1
 429 moveindex 10
 430 MOVE: p c5-d4
 431 postauto2
 432 moveindex 11
 433 MOVE: N f3-d4
 434 postauto1
 435 moveindex 12
 436 MOVE: p e7-e6
 437 postauto2
 438 moveindex 13
 439 MOVE: B c1-g5
 440 MOVE:  add A c1
 441 MOVE: add W~ j1
 442 MOVE: capture j3
 443 postauto1
 444 moveindex 14
 445 MOVE: p f7-f6
 446 postauto2
 447 moveindex 15
 448 MOVE: B g5-e3
 449 postauto1
 450 moveindex 16
 451 MOVE: n c6-d4
 452 postauto2
 453 moveindex 17
 454 MOVE: B e3-d4
 455 postauto1
 456 moveindex 18
 457 MOVE: p b7-b6
 458 postauto2
 459 moveindex 19
 460 MOVE: B f1-d3
 461 MOVE:  add W~ j1
 462 postauto1
 463 moveindex 20
 464 MOVE: b c8-b7
 465 MOVE:  add m c8
 466 MOVE: add W~ i8
 467 MOVE: capture i5
 468 postauto2
 469 moveindex 21
 470 MOVE: Q d1-h5
 471 MOVE:  add W~ j1
 472 postauto1
 473 moveindex 22
 474 MOVE: p g7-g6
 475 postauto2
 476 moveindex 23
 477 MOVE: Q h5-h3
 478 postauto1
 479 moveindex 24
 480 MOVE: p e6-e5
 481 postauto2
 482 moveindex 25
 483 MOVE: B d4-e3
 484 postauto1
 485 moveindex 26
 486 MOVE: b f8-g7
 487 MOVE:  add a f8
 488 MOVE: add W~ i8
 489 MOVE: capture i6
 490 postauto2
 491 moveindex 27
 492 MOVE: A c1-b3
 493 postauto1
 494 moveindex 28
 495 MOVE: p f6-f5
 496 postauto2
 497 moveindex 29
 498 MOVE: N b1-c3
 499 MOVE:  add W~ j1
 500 postauto1
 501 moveindex 30
 502 MOVE: p f5-f4
 503 postauto2
 504 moveindex 31
 505 MOVE: B e3-d2
 506 postauto1
 507 moveindex 32
 508 MOVE: n g8-f6
 509 postauto2
 510 moveindex 33
 511 MOVE: N c3-d5
 512 postauto1
 513 moveindex 34
 514 MOVE: n f6-d5
 515 postauto2
 516 moveindex 35
 517 MOVE: P e4-d5
 518 postauto1
 519 moveindex 36
 520 MOVE: q d8-f6
 521 postauto2
 522 moveindex 37
 523 MOVE: B d3-e4
 524 postauto1
 525 moveindex 38
 526 MOVE: a f8-d6
 527 postauto2
 528 moveindex 39
 529 MOVE: K e1-c1
 530 MOVE:  add M e1
 531 MOVE: capture j4
 532 MOVE: empty a1
 533 MOVE: add W~ j1
 534 postauto1
 535 moveindex 40
 536 MOVE: p a7-a5
 537 postauto2
 538 moveindex 41
 539 MOVE: P g2-g3
 540 postauto1
 541 moveindex 42
 542 MOVE: p a5-a4
 543 postauto2
 544 moveindex 43
 545 MOVE: A b3-a1
 546 postauto1
 547 moveindex 44
 548 MOVE: a d6-c4
 549 postauto2
 550 moveindex 45
 551 MOVE: K c1-b1
 552 postauto1
 553 moveindex 46
 554 MOVE: b b7-d5
 555 postauto2
 556 moveindex 47
 557 MOVE: B e4-d5
 558 postauto1
 559 moveindex 48
 560 MOVE: a c4-d5
 561 postauto2
 562 moveindex 49
 563 MOVE: M e1-d3
 564 postauto1
 565 moveindex 50
 566 MOVE: a d5-e6
 567 postauto2
 568 moveindex 51
 569 MOVE: Q h3-e6
 570 postauto1
 571 moveindex 52
 572 MOVE: p d7-e6
 573 postauto2
 574 moveindex 53
 575 MOVE: B d2-b4
 576 postauto1
 577 moveindex 54
 578 MOVE: m c8-d8
 579 postauto2
 580 moveindex 55
 581 MOVE: M d3-c3
 582 postauto1
 583 moveindex 56
 584 MOVE: m d8-b7
 585 postauto2
 586 moveindex 57
 587 MOVE: R d1-d3
 588 postauto1
 589 moveindex 58
 590 MOVE: q f6-f5
 591 postauto2
 592 moveindex 59
 593 MOVE: R h1-e1
 594 postauto1
 595 moveindex 60
 596 MOVE: p g6-g5
 597 postauto2
 598 moveindex 61
 599 MOVE: P g3-f4
 600 postauto1
 601 moveindex 62
 602 MOVE: p e5-f4
 603 postauto2
 604 moveindex 63
 605 MOVE: M c3-c6
 606 postauto1
 607 moveindex 64
 608 MOVE: k e8-f7
 609 postauto2
 610 moveindex 65
 611 MOVE: R e1-d1
 612 postauto1
 613 moveindex 66
 614 MOVE: r a8-a7
 615 postauto2
 616 moveindex 67
 617 MOVE: B b4-c3
 618 postauto1
 619 moveindex 68
 620 MOVE: b g7-c3
 621 postauto2
 622 moveindex 69
 623 MOVE: M c6-c3
 624 postauto1
 625 moveindex 70
 626 MOVE: m b7-a5
 627 postauto2
 628 moveindex 71
 629 MOVE: R d3-d7
 630 postauto1
 631 moveindex 72
 632 MOVE: r a7-d7
 633 postauto2
 634 moveindex 73
 635 MOVE: R d1-d7
 636 postauto1
 637 moveindex 74
 638 MOVE: k f7-g6
 639 postauto2
 640 moveindex 75
 641 MOVE: M c3-c7
 642 postauto1
 643 moveindex 76
 644 MOVE: resign
 645 postauto2
 646 end
 647 

functions

uservar

Array ( [0] => Array ( [main] => Array ( [legal] => 1 [RESULT] => ) ) )

mline

Array ( [0] => MoveLine Object ( [movenum] => 1 [move] => P e2-e4 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 1 ) [1] => MoveLine Object ( [movenum] => 2 [move] => p c7-c5 [level] => 1 [comment] => [length] => 14 [newturn] => [turn] => 1 ) [2] => MoveLine Object ( [movenum] => 3 [move] => N g1-f3; add W~ j1 [level] => 1 [comment] => [length] => 23 [newturn] => 1 [turn] => 2 ) [3] => MoveLine Object ( [movenum] => 3 [move] => [level] => 1 [comment] => // Carlos, you did not correctly add a compound piece - type [length] => 62 [newturn] => 1 [turn] => 2 ) [4] => MoveLine Object ( [movenum] => 3 [move] => [level] => 1 [comment] => // j3 or j4-destination square. Please take back and re-do your [length] => 65 [newturn] => 1 [turn] => 2 ) [5] => MoveLine Object ( [movenum] => 3 [move] => [level] => 1 [comment] => // 2nd move. [length] => 14 [newturn] => 1 [turn] => 2 ) [6] => MoveLine Object ( [movenum] => 4 [move] => p c7-c5 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 1 ) [7] => MoveLine Object ( [movenum] => 5 [move] => N g1-f3; add W~ j1 [level] => 0 [comment] => [length] => 21 [newturn] => 1 [turn] => 2 ) [8] => MoveLine Object ( [movenum] => 6 [move] => n b8-c6; add W~ i8 [level] => 0 [comment] => [length] => 23 [newturn] => [turn] => 2 ) [9] => MoveLine Object ( [movenum] => 7 [move] => P d2-d4 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 3 ) [10] => MoveLine Object ( [movenum] => 8 [move] => p c5-d4 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 3 ) [11] => MoveLine Object ( [movenum] => 9 [move] => N f3-d4 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 4 ) [12] => MoveLine Object ( [movenum] => 10 [move] => p e7-e6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 4 ) [13] => MoveLine Object ( [movenum] => 11 [move] => B c1-g5; add A c1;add W~ j1;capture j3 [level] => 0 [comment] => [length] => 41 [newturn] => 1 [turn] => 5 ) [14] => MoveLine Object ( [movenum] => 12 [move] => p f7-f6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 5 ) [15] => MoveLine Object ( [movenum] => 13 [move] => B g5-e3 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 6 ) [16] => MoveLine Object ( [movenum] => 14 [move] => n c6-d4 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 6 ) [17] => MoveLine Object ( [movenum] => 15 [move] => B e3-d4 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 7 ) [18] => MoveLine Object ( [movenum] => 16 [move] => p b7-b6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 7 ) [19] => MoveLine Object ( [movenum] => 17 [move] => B f1-d3; add W~ j1 [level] => 0 [comment] => [length] => 21 [newturn] => 1 [turn] => 8 ) [20] => MoveLine Object ( [movenum] => 18 [move] => b c8-b7; add m c8;add W~ i8;capture i5 [level] => 0 [comment] => [length] => 43 [newturn] => [turn] => 8 ) [21] => MoveLine Object ( [movenum] => 19 [move] => Q d1-h5; add W~ j1 [level] => 0 [comment] => [length] => 21 [newturn] => 1 [turn] => 9 ) [22] => MoveLine Object ( [movenum] => 20 [move] => p g7-g6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 9 ) [23] => MoveLine Object ( [movenum] => 21 [move] => Q h5-h3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 10 ) [24] => MoveLine Object ( [movenum] => 22 [move] => p e6-e5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 10 ) [25] => MoveLine Object ( [movenum] => 23 [move] => B d4-e3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 11 ) [26] => MoveLine Object ( [movenum] => 24 [move] => b f8-g7; add a f8;add W~ i8;capture i6 [level] => 0 [comment] => [length] => 44 [newturn] => [turn] => 11 ) [27] => MoveLine Object ( [movenum] => 25 [move] => A c1-b3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 12 ) [28] => MoveLine Object ( [movenum] => 26 [move] => p f6-f5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 12 ) [29] => MoveLine Object ( [movenum] => 27 [move] => N b1-c3; add W~ j1 [level] => 0 [comment] => [length] => 22 [newturn] => 1 [turn] => 13 ) [30] => MoveLine Object ( [movenum] => 28 [move] => p f5-f4 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 13 ) [31] => MoveLine Object ( [movenum] => 29 [move] => B e3-d2 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 14 ) [32] => MoveLine Object ( [movenum] => 30 [move] => n g8-f6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 14 ) [33] => MoveLine Object ( [movenum] => 31 [move] => N c3-d5 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 15 ) [34] => MoveLine Object ( [movenum] => 32 [move] => n f6-d5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 15 ) [35] => MoveLine Object ( [movenum] => 33 [move] => P e4-d5 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 16 ) [36] => MoveLine Object ( [movenum] => 34 [move] => q d8-f6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 16 ) [37] => MoveLine Object ( [movenum] => 35 [move] => B d3-e4 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 17 ) [38] => MoveLine Object ( [movenum] => 36 [move] => a f8-d6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 17 ) [39] => MoveLine Object ( [movenum] => 37 [move] => K e1-c1; add M e1;capture j4;empty a1;add W~ j1 [level] => 0 [comment] => [length] => 51 [newturn] => 1 [turn] => 18 ) [40] => MoveLine Object ( [movenum] => 38 [move] => p a7-a5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 18 ) [41] => MoveLine Object ( [movenum] => 39 [move] => P g2-g3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 19 ) [42] => MoveLine Object ( [movenum] => 40 [move] => p a5-a4 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 19 ) [43] => MoveLine Object ( [movenum] => 41 [move] => A b3-a1 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 20 ) [44] => MoveLine Object ( [movenum] => 42 [move] => a d6-c4 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 20 ) [45] => MoveLine Object ( [movenum] => 43 [move] => K c1-b1 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 21 ) [46] => MoveLine Object ( [movenum] => 44 [move] => b b7-d5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 21 ) [47] => MoveLine Object ( [movenum] => 45 [move] => B e4-d5 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 22 ) [48] => MoveLine Object ( [movenum] => 46 [move] => a c4-d5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 22 ) [49] => MoveLine Object ( [movenum] => 47 [move] => M e1-d3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 23 ) [50] => MoveLine Object ( [movenum] => 48 [move] => a d5-e6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 23 ) [51] => MoveLine Object ( [movenum] => 49 [move] => Q h3-e6 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 24 ) [52] => MoveLine Object ( [movenum] => 50 [move] => p d7-e6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 24 ) [53] => MoveLine Object ( [movenum] => 51 [move] => B d2-b4 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 25 ) [54] => MoveLine Object ( [movenum] => 52 [move] => m c8-d8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 25 ) [55] => MoveLine Object ( [movenum] => 53 [move] => M d3-c3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 26 ) [56] => MoveLine Object ( [movenum] => 54 [move] => m d8-b7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 26 ) [57] => MoveLine Object ( [movenum] => 55 [move] => R d1-d3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 27 ) [58] => MoveLine Object ( [movenum] => 56 [move] => q f6-f5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 27 ) [59] => MoveLine Object ( [movenum] => 57 [move] => R h1-e1 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 28 ) [60] => MoveLine Object ( [movenum] => 58 [move] => p g6-g5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 28 ) [61] => MoveLine Object ( [movenum] => 59 [move] => P g3-f4 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 29 ) [62] => MoveLine Object ( [movenum] => 60 [move] => p e5-f4 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 29 ) [63] => MoveLine Object ( [movenum] => 61 [move] => M c3-c6 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 30 ) [64] => MoveLine Object ( [movenum] => 62 [move] => k e8-f7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 30 ) [65] => MoveLine Object ( [movenum] => 63 [move] => R e1-d1 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 31 ) [66] => MoveLine Object ( [movenum] => 64 [move] => r a8-a7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 31 ) [67] => MoveLine Object ( [movenum] => 65 [move] => B b4-c3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 32 ) [68] => MoveLine Object ( [movenum] => 66 [move] => b g7-c3 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 32 ) [69] => MoveLine Object ( [movenum] => 67 [move] => M c6-c3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 33 ) [70] => MoveLine Object ( [movenum] => 68 [move] => m b7-a5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 33 ) [71] => MoveLine Object ( [movenum] => 69 [move] => R d3-d7 [level] => 0 [comment] => //Check! [length] => 20 [newturn] => 1 [turn] => 34 ) [72] => MoveLine Object ( [movenum] => 70 [move] => r a7-d7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 34 ) [73] => MoveLine Object ( [movenum] => 71 [move] => R d1-d7 [level] => 0 [comment] => //Check! [length] => 20 [newturn] => 1 [turn] => 35 ) [74] => MoveLine Object ( [movenum] => 72 [move] => k f7-g6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 35 ) [75] => MoveLine Object ( [movenum] => 73 [move] => M c3-c7 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 36 ) [76] => MoveLine Object ( [movenum] => 74 [move] => resign [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 36 ) )

allmoves

Array ( [0] => moveindex 76;MOVE: resign;postauto2 [1] => moveindex 75;MOVE: M c3-c7;postauto1 [2] => moveindex 74;MOVE: k f7-g6;postauto2 [3] => moveindex 73;MOVE: R d1-d7;postauto1 [4] => moveindex 72;MOVE: r a7-d7;postauto2 [5] => moveindex 71;MOVE: R d3-d7;postauto1 [6] => moveindex 70;MOVE: m b7-a5;postauto2 [7] => moveindex 69;MOVE: M c6-c3;postauto1 [8] => moveindex 68;MOVE: b g7-c3;postauto2 [9] => moveindex 67;MOVE: B b4-c3;postauto1 [10] => moveindex 66;MOVE: r a8-a7;postauto2 [11] => moveindex 65;MOVE: R e1-d1;postauto1 [12] => moveindex 64;MOVE: k e8-f7;postauto2 [13] => moveindex 63;MOVE: M c3-c6;postauto1 [14] => moveindex 62;MOVE: p e5-f4;postauto2 [15] => moveindex 61;MOVE: P g3-f4;postauto1 [16] => moveindex 60;MOVE: p g6-g5;postauto2 [17] => moveindex 59;MOVE: R h1-e1;postauto1 [18] => moveindex 58;MOVE: q f6-f5;postauto2 [19] => moveindex 57;MOVE: R d1-d3;postauto1 [20] => moveindex 56;MOVE: m d8-b7;postauto2 [21] => moveindex 55;MOVE: M d3-c3;postauto1 [22] => moveindex 54;MOVE: m c8-d8;postauto2 [23] => moveindex 53;MOVE: B d2-b4;postauto1 [24] => moveindex 52;MOVE: p d7-e6;postauto2 [25] => moveindex 51;MOVE: Q h3-e6;postauto1 [26] => moveindex 50;MOVE: a d5-e6;postauto2 [27] => moveindex 49;MOVE: M e1-d3;postauto1 [28] => moveindex 48;MOVE: a c4-d5;postauto2 [29] => moveindex 47;MOVE: B e4-d5;postauto1 [30] => moveindex 46;MOVE: b b7-d5;postauto2 [31] => moveindex 45;MOVE: K c1-b1;postauto1 [32] => moveindex 44;MOVE: a d6-c4;postauto2 [33] => moveindex 43;MOVE: A b3-a1;postauto1 [34] => moveindex 42;MOVE: p a5-a4;postauto2 [35] => moveindex 41;MOVE: P g2-g3;postauto1 [36] => moveindex 40;MOVE: p a7-a5;postauto2 [37] => moveindex 39;MOVE: K e1-c1; MOVE: add M e1; MOVE: capture j4; MOVE: empty a1; MOVE: add W~ j1;postauto1 [38] => moveindex 38;MOVE: a f8-d6;postauto2 [39] => moveindex 37;MOVE: B d3-e4;postauto1 [40] => moveindex 36;MOVE: q d8-f6;postauto2 [41] => moveindex 35;MOVE: P e4-d5;postauto1 [42] => moveindex 34;MOVE: n f6-d5;postauto2 [43] => moveindex 33;MOVE: N c3-d5;postauto1 [44] => moveindex 32;MOVE: n g8-f6;postauto2 [45] => moveindex 31;MOVE: B e3-d2;postauto1 [46] => moveindex 30;MOVE: p f5-f4;postauto2 [47] => moveindex 29;MOVE: N b1-c3; MOVE: add W~ j1;postauto1 [48] => moveindex 28;MOVE: p f6-f5;postauto2 [49] => moveindex 27;MOVE: A c1-b3;postauto1 [50] => moveindex 26;MOVE: b f8-g7; MOVE: add a f8; MOVE: add W~ i8; MOVE: capture i6;postauto2 [51] => moveindex 25;MOVE: B d4-e3;postauto1 [52] => moveindex 24;MOVE: p e6-e5;postauto2 [53] => moveindex 23;MOVE: Q h5-h3;postauto1 [54] => moveindex 22;MOVE: p g7-g6;postauto2 [55] => moveindex 21;MOVE: Q d1-h5; MOVE: add W~ j1;postauto1 [56] => moveindex 20;MOVE: b c8-b7; MOVE: add m c8; MOVE: add W~ i8; MOVE: capture i5;postauto2 [57] => moveindex 19;MOVE: B f1-d3; MOVE: add W~ j1;postauto1 [58] => moveindex 18;MOVE: p b7-b6;postauto2 [59] => moveindex 17;MOVE: B e3-d4;postauto1 [60] => moveindex 16;MOVE: n c6-d4;postauto2 [61] => moveindex 15;MOVE: B g5-e3;postauto1 [62] => moveindex 14;MOVE: p f7-f6;postauto2 [63] => moveindex 13;MOVE: B c1-g5; MOVE: add A c1; MOVE: add W~ j1; MOVE: capture j3;postauto1 [64] => moveindex 12;MOVE: p e7-e6;postauto2 [65] => moveindex 11;MOVE: N f3-d4;postauto1 [66] => moveindex 10;MOVE: p c5-d4;postauto2 [67] => moveindex 9;MOVE: P d2-d4;postauto1 [68] => moveindex 8;MOVE: n b8-c6; MOVE: add W~ i8;postauto2 [69] => moveindex 7;MOVE: N g1-f3; MOVE: add W~ j1;postauto1 [70] => moveindex 6;MOVE: p c7-c5;postauto2 [71] => moveindex 0;MOVE: P e2-e4;postauto1 )

movelist

1. P e2-e4 | 1... p c7-c5 | 2. N g1-f3; add W~ j1 | // Carlos, you did not correctly add a compound piece - type | // j3 or j4-destination square. Please take back and re-do your | // 2nd move. 1... p c7-c5 2. N g1-f3; add W~ j1 2... n b8-c6; add W~ i8 3. P d2-d4 3... p c5-d4 4. N f3-d4 4... p e7-e6 5. B c1-g5; add A c1;add W~ j1;capture j3 5... p f7-f6 6. B g5-e3 6... n c6-d4 7. B e3-d4 7... p b7-b6 8. B f1-d3; add W~ j1 8... b c8-b7; add m c8;add W~ i8;capture i5 9. Q d1-h5; add W~ j1 9... p g7-g6 10. Q h5-h3 10... p e6-e5 11. B d4-e3 11... b f8-g7; add a f8;add W~ i8;capture i6 12. A c1-b3 12... p f6-f5 13. N b1-c3; add W~ j1 13... p f5-f4 14. B e3-d2 14... n g8-f6 15. N c3-d5 15... n f6-d5 16. P e4-d5 16... q d8-f6 17. B d3-e4 17... a f8-d6 18. K e1-c1; add M e1;capture j4;empty a1;add W~ j1 18... p a7-a5 19. P g2-g3 19... p a5-a4 20. A b3-a1 20... a d6-c4 21. K c1-b1 21... b b7-d5 22. B e4-d5 22... a c4-d5 23. M e1-d3 23... a d5-e6 24. Q h3-e6 24... p d7-e6 25. B d2-b4 25... m c8-d8 26. M d3-c3 26... m d8-b7 27. R d1-d3 27... q f6-f5 28. R h1-e1 28... p g6-g5 29. P g3-f4 29... p e5-f4 30. M c3-c6 30... k e8-f7 31. R e1-d1 31... r a8-a7 32. B b4-c3 32... b g7-c3 33. M c6-c3 33... m b7-a5 34. R d3-d7 //Check! 34... r a7-d7 35. R d1-d7 //Check! 35... k f7-g6 36. M c3-c7 36... resign

constants

Array