Syntax Error on line 434

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 E space dest
or equal BI space dest or equal R space dest or equal B space dest equal N space dest
  39       askpromote Q E BI 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 E b1;add W~ j1;capture j4"
"Hawk" "add BI 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 BI 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 E 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 E g1;add W~ j1;capture j4"
"Hawk" "add BI 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 BI 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 E 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 E c1;add W~ j1;capture j4"
"Hawk" "add BI 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 BI 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 E 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 E f1;add W~ j1;capture j4"
"Hawk" "add BI 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 BI 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 E 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 E h1;add W~ j1;capture j4"
"Hawk" "add BI 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 BI 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 E 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 E a1;add W~ j1;capture j4"
"Hawk" "add BI 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 BI 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 E 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 E d1;add W~ j1;capture j4"
"Hawk" "add BI 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 BI 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 E 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 E e1;add W~ j1;capture j4"
"Hawk" "add BI 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 BI 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 E 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 E e1;capture j4;empty h1;add W~ j1"
"Elephant on h1" "add E h1;capture j4;add W~ j1"
"Hawk on e1" "add BI e1;capture j3;empty h1;add W~ j1"
"Hawk on h1" "add BI 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 BI e1;capture j3;empty h1;add W~ j1"
"Hawk on h1" "add BI 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 E e1;capture j4;empty h1;add W~ j1"
"Elephant on h1" "add E 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 E e1;capture j4;empty a1;add W~ j1"
"Elephant on a1" "add E a1;capture j4;add W~ j1"
"Hawk on e1" "add BI e1;capture j3;empty a1;add W~ j1"
"Hawk on a1" "add BI 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 BI e1;capture j3;empty a1;add W~ j1"
"Hawk on a1" "add BI 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 E e1;capture j4;empty a1;add W~ j1"
"Elephant on a1" "add E 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 BI
 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 E
 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 e space dest
or equal bi space dest or equal r space dest or equal b space dest equal n space dest
 245       askpromote q e bi 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 e b8;add W~ i8;capture i5"
"Hawk" "add bi 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 bi 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 e 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 e g8;add W~ i8;capture i5"
"Hawk" "add bi 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 bi 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 e 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 e c8;add W~ i8;capture i5"
"Hawk" "add bi 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 bi 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 e 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 e f8;add W~ i8;capture i5"
"Hawk" "add bi 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 bi 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 e 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 e h8;add W~ i8;capture i5"
"Hawk" "add bi 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 bi 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 e 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 e a8;add W~ i8;capture i5"
"Hawk" "add bi 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 bi 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 e 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 e d8;add W~ i8;capture i5"
"Hawk" "add bi 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 bi 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 e 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 e e8;add W~ i8;capture i5"
"Hawk" "add bi 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 bi 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 e 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 e e8;capture i5;empty h8;add W~ i8"
"Elephant on h8" "add e h8;capture i5;add W~ i8"
"Hawk on e8" "add bi e8;capture i6;empty h8;add W~ i8"
"Hawk on h8" "add bi 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 bi e8;capture i6;empty h8;add W~ i8"
"Hawk on h8" "add bi 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 e e8;capture i5;empty h8;add W~ i8"
"Elephant on h8" "add e 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 e e8;capture i5;empty a8;add W~ i8"
"Elephant on a8" "add e a8;capture i5;add W~ i8"
"Hawk on e8" "add bi e8;capture i6;empty a8;add W~ i8"
"Hawk on a8" "add bi 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 bi e8;capture i6;empty a8;add W~ i8"
"Hawk on a8" "add bi 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 e e8;capture i5;empty a8;add W~ i8"
"Elephant on a8" "add e 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 bi
 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 e
 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 1
 413 MOVE: P e2-e4
 414 postauto1
 415 moveindex 2
 416 MOVE: p e7-e5
 417 postauto2
 418 moveindex 3
 419 MOVE: N g1-f3
 420 MOVE:  add W~ j1
 421 postauto1
 422 moveindex 4
 423 MOVE: n b8-c6
 424 MOVE:  add W~ i8
 425 postauto2
 426 moveindex 5
 427 MOVE: B f1-c4
 428 MOVE:  add W~ j1
 429 postauto1
 430 moveindex 6
 431 MOVE: b f8-c5
 432 MOVE:  add bi f8
 433 MOVE: add W~ i8
 434 MOVE: capture i6
 435 postauto2
 436 moveindex 7
 437 MOVE: P d2-d3
 438 postauto1
 439 moveindex 8
 440 MOVE: n g8-f6
 441 MOVE:  add W~ i8
 442 postauto2
 443 moveindex 9
 444 MOVE: B c1-e3
 445 MOVE:  add BI c1
 446 MOVE: add W~ j1
 447 MOVE: capture j3
 448 postauto1
 449 moveindex 10
 450 MOVE: p d7-d5
 451 postauto2
 452 moveindex 11
 453 MOVE: P e4-d5
 454 postauto1
 455 moveindex 12
 456 MOVE: n f6-d5
 457 postauto2
 458 moveindex 13
 459 MOVE: B c4-d5
 460 postauto1
 461 moveindex 14
 462 MOVE: q d8-d5
 463 MOVE:  add e d8
 464 MOVE: add W~ i8
 465 MOVE: capture i5
 466 postauto2
 467 moveindex 15
 468 MOVE: N b1-c3
 469 MOVE:  add W~ j1
 470 postauto1
 471 moveindex 16
 472 MOVE: q d5-d6
 473 postauto2
 474 moveindex 17
 475 MOVE: K e1-g1
 476 MOVE:  add E h1
 477 MOVE: capture j4
 478 MOVE: add W~ j1
 479 postauto1
 480 moveindex 18
 481 MOVE: b c8-f5
 482 postauto2
 483 moveindex 19
 484 MOVE: R f1-e1
 485 postauto1
 486 moveindex 20
 487 MOVE: p e5-e4
 488 postauto2
 489 moveindex 21
 490 MOVE: B e3-c5
 491 postauto1
 492 moveindex 22
 493 MOVE: q d6-c5
 494 postauto2
 495 moveindex 23
 496 MOVE: N c3-e4
 497 postauto1
 498 moveindex 24
 499 MOVE: b f5-e4
 500 postauto2
 501 moveindex 25
 502 MOVE: R e1-e4
 503 postauto1
 504 moveindex 26
 505 MOVE: n c6-e7
 506 postauto2
 507 moveindex 27
 508 MOVE: BI c1-b3
 509 postauto1
 510 moveindex 28
 511 MOVE: q c5-b6
 512 postauto2
 513 moveindex 29
 514 MOVE: N f3-e5
 515 postauto1
 516 moveindex 30
 517 MOVE: q b6-f6
 518 postauto2
 519 moveindex 31
 520 MOVE: Q d1-e2
 521 postauto1
 522 moveindex 32
 523 MOVE: bi f8-e6
 524 postauto2
 525 moveindex 33
 526 MOVE: BI b3-e6
 527 postauto1
 528 moveindex 34
 529 MOVE: p f7-e6
 530 postauto2
 531 moveindex 35
 532 MOVE: R a1-e1
 533 postauto1
 534 moveindex 36
 535 MOVE: k e8-g8
 536 postauto2
 537 moveindex 37
 538 MOVE: E h1-g3
 539 postauto1
 540 moveindex 38
 541 MOVE: n e7-f5
 542 postauto2
 543 moveindex 39
 544 MOVE: E g3-g4
 545 postauto1
 546 moveindex 40
 547 MOVE: q f6-e7
 548 postauto2
 549 moveindex 41
 550 MOVE: N e5-f3
 551 postauto1
 552 moveindex 42
 553 MOVE: e d8-f7
 554 postauto2
 555 moveindex 43
 556 MOVE: R e4-e6
 557 postauto1
 558 moveindex 44
 559 MOVE: q e7-d8
 560 postauto2
 561 moveindex 45
 562 MOVE: P c2-c3
 563 postauto1
 564 moveindex 46
 565 MOVE: p h7-h5
 566 postauto2
 567 moveindex 47
 568 MOVE: E g4-g6
 569 postauto1
 570 moveindex 48
 571 MOVE: r f8-e8
 572 postauto2
 573 moveindex 49
 574 MOVE: R e6-e8
 575 postauto1
 576 moveindex 50
 577 MOVE: q d8-e8
 578 postauto2
 579 moveindex 51
 580 MOVE: Q e2-e8
 581 postauto1
 582 moveindex 52
 583 MOVE: r a8-e8
 584 postauto2
 585 moveindex 53
 586 MOVE: R e1-e8
 587 postauto1
 588 moveindex 54
 589 MOVE: k g8-h7
 590 postauto2
 591 moveindex 55
 592 MOVE: E g6-f8
 593 postauto1
 594 moveindex 56
 595 MOVE: e f7-f8
 596 postauto2
 597 moveindex 57
 598 MOVE: R e8-f8
 599 postauto1
 600 moveindex 58
 601 MOVE: n f5-d6
 602 postauto2
 603 moveindex 59
 604 MOVE: P h2-h4
 605 postauto1
 606 end
 607 

functions

uservar

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

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] => p e7-e5 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 1 ) [3] => MoveLine Object ( [movenum] => 3 [move] => N g1-f3; add W~ j1 [level] => 0 [comment] => [length] => 21 [newturn] => 1 [turn] => 2 ) [4] => MoveLine Object ( [movenum] => 4 [move] => n b8-c6; add W~ i8 [level] => 0 [comment] => [length] => 23 [newturn] => [turn] => 2 ) [5] => MoveLine Object ( [movenum] => 5 [move] => B f1-c4; add W~ j1 [level] => 0 [comment] => [length] => 21 [newturn] => 1 [turn] => 3 ) [6] => MoveLine Object ( [movenum] => 6 [move] => b f8-c5; add bi f8;add W~ i8;capture i6 [level] => 0 [comment] => [length] => 44 [newturn] => [turn] => 3 ) [7] => MoveLine Object ( [movenum] => 7 [move] => P d2-d3 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 4 ) [8] => MoveLine Object ( [movenum] => 8 [move] => n g8-f6; add W~ i8 [level] => 0 [comment] => [length] => 23 [newturn] => [turn] => 4 ) [9] => MoveLine Object ( [movenum] => 9 [move] => B c1-e3; add BI c1;add W~ j1;capture j3 [level] => 0 [comment] => [length] => 42 [newturn] => 1 [turn] => 5 ) [10] => MoveLine Object ( [movenum] => 10 [move] => p d7-d5 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 5 ) [11] => MoveLine Object ( [movenum] => 11 [move] => P e4-d5 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 6 ) [12] => MoveLine Object ( [movenum] => 12 [move] => n f6-d5 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 6 ) [13] => MoveLine Object ( [movenum] => 13 [move] => B c4-d5 [level] => 0 [comment] => [length] => 10 [newturn] => 1 [turn] => 7 ) [14] => MoveLine Object ( [movenum] => 14 [move] => q d8-d5; add e d8;add W~ i8;capture i5 [level] => 0 [comment] => [length] => 43 [newturn] => [turn] => 7 ) [15] => MoveLine Object ( [movenum] => 15 [move] => N b1-c3; add W~ j1 [level] => 0 [comment] => [length] => 21 [newturn] => 1 [turn] => 8 ) [16] => MoveLine Object ( [movenum] => 16 [move] => q d5-d6 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 8 ) [17] => MoveLine Object ( [movenum] => 17 [move] => K e1-g1; add E h1;capture j4;add W~ j1 [level] => 0 [comment] => [length] => 41 [newturn] => 1 [turn] => 9 ) [18] => MoveLine Object ( [movenum] => 18 [move] => b c8-f5 [level] => 0 [comment] => [length] => 12 [newturn] => [turn] => 9 ) [19] => MoveLine Object ( [movenum] => 19 [move] => R f1-e1 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 10 ) [20] => MoveLine Object ( [movenum] => 20 [move] => p e5-e4 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 10 ) [21] => MoveLine Object ( [movenum] => 21 [move] => B e3-c5 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 11 ) [22] => MoveLine Object ( [movenum] => 22 [move] => q d6-c5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 11 ) [23] => MoveLine Object ( [movenum] => 23 [move] => N c3-e4 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 12 ) [24] => MoveLine Object ( [movenum] => 24 [move] => b f5-e4 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 12 ) [25] => MoveLine Object ( [movenum] => 25 [move] => R e1-e4 [level] => 0 [comment] => //Check! [length] => 20 [newturn] => 1 [turn] => 13 ) [26] => MoveLine Object ( [movenum] => 26 [move] => n c6-e7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 13 ) [27] => MoveLine Object ( [movenum] => 27 [move] => BI c1-b3 [level] => 0 [comment] => [length] => 12 [newturn] => 1 [turn] => 14 ) [28] => MoveLine Object ( [movenum] => 28 [move] => q c5-b6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 14 ) [29] => MoveLine Object ( [movenum] => 29 [move] => N f3-e5 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 15 ) [30] => MoveLine Object ( [movenum] => 30 [move] => q b6-f6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 15 ) [31] => MoveLine Object ( [movenum] => 31 [move] => Q d1-e2 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 16 ) [32] => MoveLine Object ( [movenum] => 32 [move] => bi f8-e6 [level] => 0 [comment] => [length] => 14 [newturn] => [turn] => 16 ) [33] => MoveLine Object ( [movenum] => 33 [move] => BI b3-e6 [level] => 0 [comment] => [length] => 12 [newturn] => 1 [turn] => 17 ) [34] => MoveLine Object ( [movenum] => 34 [move] => p f7-e6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 17 ) [35] => MoveLine Object ( [movenum] => 35 [move] => R a1-e1 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 18 ) [36] => MoveLine Object ( [movenum] => 36 [move] => k e8-g8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 18 ) [37] => MoveLine Object ( [movenum] => 37 [move] => E h1-g3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 19 ) [38] => MoveLine Object ( [movenum] => 38 [move] => n e7-f5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 19 ) [39] => MoveLine Object ( [movenum] => 39 [move] => E g3-g4 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 20 ) [40] => MoveLine Object ( [movenum] => 40 [move] => q f6-e7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 20 ) [41] => MoveLine Object ( [movenum] => 41 [move] => N e5-f3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 21 ) [42] => MoveLine Object ( [movenum] => 42 [move] => e d8-f7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 21 ) [43] => MoveLine Object ( [movenum] => 43 [move] => R e4-e6 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 22 ) [44] => MoveLine Object ( [movenum] => 44 [move] => q e7-d8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 22 ) [45] => MoveLine Object ( [movenum] => 45 [move] => P c2-c3 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 23 ) [46] => MoveLine Object ( [movenum] => 46 [move] => p h7-h5 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 23 ) [47] => MoveLine Object ( [movenum] => 47 [move] => E g4-g6 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 24 ) [48] => MoveLine Object ( [movenum] => 48 [move] => r f8-e8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 24 ) [49] => MoveLine Object ( [movenum] => 49 [move] => R e6-e8 [level] => 0 [comment] => //Check! [length] => 20 [newturn] => 1 [turn] => 25 ) [50] => MoveLine Object ( [movenum] => 50 [move] => q d8-e8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 25 ) [51] => MoveLine Object ( [movenum] => 51 [move] => Q e2-e8 [level] => 0 [comment] => //Check! [length] => 20 [newturn] => 1 [turn] => 26 ) [52] => MoveLine Object ( [movenum] => 52 [move] => r a8-e8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 26 ) [53] => MoveLine Object ( [movenum] => 53 [move] => R e1-e8 [level] => 0 [comment] => //Check! [length] => 20 [newturn] => 1 [turn] => 27 ) [54] => MoveLine Object ( [movenum] => 54 [move] => k g8-h7 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 27 ) [55] => MoveLine Object ( [movenum] => 55 [move] => E g6-f8 [level] => 0 [comment] => //Check! [length] => 20 [newturn] => 1 [turn] => 28 ) [56] => MoveLine Object ( [movenum] => 56 [move] => e f7-f8 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 28 ) [57] => MoveLine Object ( [movenum] => 57 [move] => R e8-f8 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 29 ) [58] => MoveLine Object ( [movenum] => 58 [move] => n f5-d6 [level] => 0 [comment] => [length] => 13 [newturn] => [turn] => 29 ) [59] => MoveLine Object ( [movenum] => 59 [move] => P h2-h4 [level] => 0 [comment] => [length] => 11 [newturn] => 1 [turn] => 30 ) )

allmoves

Array ( [0] => moveindex 59;MOVE: P h2-h4;postauto1 [1] => moveindex 58;MOVE: n f5-d6;postauto2 [2] => moveindex 57;MOVE: R e8-f8;postauto1 [3] => moveindex 56;MOVE: e f7-f8;postauto2 [4] => moveindex 55;MOVE: E g6-f8;postauto1 [5] => moveindex 54;MOVE: k g8-h7;postauto2 [6] => moveindex 53;MOVE: R e1-e8;postauto1 [7] => moveindex 52;MOVE: r a8-e8;postauto2 [8] => moveindex 51;MOVE: Q e2-e8;postauto1 [9] => moveindex 50;MOVE: q d8-e8;postauto2 [10] => moveindex 49;MOVE: R e6-e8;postauto1 [11] => moveindex 48;MOVE: r f8-e8;postauto2 [12] => moveindex 47;MOVE: E g4-g6;postauto1 [13] => moveindex 46;MOVE: p h7-h5;postauto2 [14] => moveindex 45;MOVE: P c2-c3;postauto1 [15] => moveindex 44;MOVE: q e7-d8;postauto2 [16] => moveindex 43;MOVE: R e4-e6;postauto1 [17] => moveindex 42;MOVE: e d8-f7;postauto2 [18] => moveindex 41;MOVE: N e5-f3;postauto1 [19] => moveindex 40;MOVE: q f6-e7;postauto2 [20] => moveindex 39;MOVE: E g3-g4;postauto1 [21] => moveindex 38;MOVE: n e7-f5;postauto2 [22] => moveindex 37;MOVE: E h1-g3;postauto1 [23] => moveindex 36;MOVE: k e8-g8;postauto2 [24] => moveindex 35;MOVE: R a1-e1;postauto1 [25] => moveindex 34;MOVE: p f7-e6;postauto2 [26] => moveindex 33;MOVE: BI b3-e6;postauto1 [27] => moveindex 32;MOVE: bi f8-e6;postauto2 [28] => moveindex 31;MOVE: Q d1-e2;postauto1 [29] => moveindex 30;MOVE: q b6-f6;postauto2 [30] => moveindex 29;MOVE: N f3-e5;postauto1 [31] => moveindex 28;MOVE: q c5-b6;postauto2 [32] => moveindex 27;MOVE: BI c1-b3;postauto1 [33] => moveindex 26;MOVE: n c6-e7;postauto2 [34] => moveindex 25;MOVE: R e1-e4;postauto1 [35] => moveindex 24;MOVE: b f5-e4;postauto2 [36] => moveindex 23;MOVE: N c3-e4;postauto1 [37] => moveindex 22;MOVE: q d6-c5;postauto2 [38] => moveindex 21;MOVE: B e3-c5;postauto1 [39] => moveindex 20;MOVE: p e5-e4;postauto2 [40] => moveindex 19;MOVE: R f1-e1;postauto1 [41] => moveindex 18;MOVE: b c8-f5;postauto2 [42] => moveindex 17;MOVE: K e1-g1; MOVE: add E h1; MOVE: capture j4; MOVE: add W~ j1;postauto1 [43] => moveindex 16;MOVE: q d5-d6;postauto2 [44] => moveindex 15;MOVE: N b1-c3; MOVE: add W~ j1;postauto1 [45] => moveindex 14;MOVE: q d8-d5; MOVE: add e d8; MOVE: add W~ i8; MOVE: capture i5;postauto2 [46] => moveindex 13;MOVE: B c4-d5;postauto1 [47] => moveindex 12;MOVE: n f6-d5;postauto2 [48] => moveindex 11;MOVE: P e4-d5;postauto1 [49] => moveindex 10;MOVE: p d7-d5;postauto2 [50] => moveindex 9;MOVE: B c1-e3; MOVE: add BI c1; MOVE: add W~ j1; MOVE: capture j3;postauto1 [51] => moveindex 8;MOVE: n g8-f6; MOVE: add W~ i8;postauto2 [52] => moveindex 7;MOVE: P d2-d3;postauto1 [53] => moveindex 6;MOVE: b f8-c5; MOVE: add bi f8; MOVE: add W~ i8; MOVE: capture i6;postauto2 [54] => moveindex 5;MOVE: B f1-c4; MOVE: add W~ j1;postauto1 [55] => moveindex 4;MOVE: n b8-c6; MOVE: add W~ i8;postauto2 [56] => moveindex 3;MOVE: N g1-f3; MOVE: add W~ j1;postauto1 [57] => moveindex 2;MOVE: p e7-e5;postauto2 [58] => moveindex 1;MOVE: P e2-e4;postauto1 )

movelist

1. P e2-e4 1... p e7-e5 2. N g1-f3; add W~ j1 2... n b8-c6; add W~ i8 3. B f1-c4; add W~ j1 3... b f8-c5; add bi f8;add W~ i8;capture i6 4. P d2-d3 4... n g8-f6; add W~ i8 5. B c1-e3; add BI c1;add W~ j1;capture j3 5... p d7-d5 6. P e4-d5 6... n f6-d5 7. B c4-d5 7... q d8-d5; add e d8;add W~ i8;capture i5 8. N b1-c3; add W~ j1 8... q d5-d6 9. K e1-g1; add E h1;capture j4;add W~ j1 9... b c8-f5 10. R f1-e1 10... p e5-e4 11. B e3-c5 11... q d6-c5 12. N c3-e4 12... b f5-e4 13. R e1-e4 //Check! 13... n c6-e7 14. BI c1-b3 14... q c5-b6 15. N f3-e5 15... q b6-f6 16. Q d1-e2 16... bi f8-e6 17. BI b3-e6 17... p f7-e6 18. R a1-e1 18... k e8-g8 19. E h1-g3 19... n e7-f5 20. E g3-g4 20... q f6-e7 21. N e5-f3 21... e d8-f7 22. R e4-e6 22... q e7-d8 23. P c2-c3 23... p h7-h5 24. E g4-g6 24... r f8-e8 25. R e6-e8 //Check! 25... q d8-e8 26. Q e2-e8 //Check! 26... r a8-e8 27. R e1-e8 //Check! 27... k g8-h7 28. E g6-f8 //Check! 28... e f7-f8 29. R e8-f8 29... n f5-d6 30. P h2-h4

constants

Array