Syntax Error on line 154
The == operator requires at least two arguments.
Edit the Settings File for Interdependent 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 set k findpiece k spaces 1 set K findpiece K spaces 2 include interdependent 3 setsystem starpath (!A2 !A3 !A4 !A5 !A6 !B2 !B3 !B4 !B5 !B6 !C2 !C3 !C4 !C5 !C6 !D2 !D3 !D4 !D5 !D6) reverse (!A2 !A3 !A4 !A5 !A6 !B2 !B3 !B4 !B5 !B6 !C2 !C3 !C4 !C5 !C6 !D2 !D3 !D4 !D5 !D6) 4 setflag rules 5 sub postauto1 6 if islower moved 7 die You may not move any enemy pieces. 8 endif 9 if isupper old 10 die You may not capture your own pieces. 11 endif 12 set pp space dest 13 if invisible origin 14 if capture 15 die You may not drop a piece on an occupied space. 16 elseif invisible dest 17 die You may not drop a piece off the board. 18 endif 19 elseif == moved U or capture 20 set legal sub takepiece origin dest 21 else 22 set legal fn moved origin dest 23 endif 24 if not #legal 25 die You may not move a moved from origin to dest 26 endif 27 if == moved K 28 set K dest 29 endif 30 if sub checked #K 31 die You may not move into check. 32 endif 33 verify capture 34 set p old 35 set c dest 36 drop old first !A2 !A3 !A4 !A5 !A6 !B2 !B3 !B4 !B5 !B6 !C2 !C3 !C4 !C5 !C6 !D2 !D3 !D4 !D5 !D6 37 flip dest 38 setglobal lastcaptured #p 39 setglobal "dest" #c 40 endsub 41 sub postauto2 42 if isupper moved 43 die You may not move any enemy pieces. 44 endif 45 if islower old 46 die You may not capture your own pieces. 47 endif 48 set pp space dest 49 if invisible origin 50 if capture 51 die You may not drop a piece on an occupied space. 52 elseif invisible dest 53 die You may not drop a piece off the board. 54 endif 55 elseif == moved u or capture 56 set legal sub takepiece origin dest 57 else 58 set legal fn moved origin dest 59 endif 60 if not #legal 61 die You may not move a moved from origin to dest 62 endif 63 if == moved k 64 set k dest 65 endif 66 if sub checked #k 67 die You may not move into check. 68 endif 69 verify capture 70 set p old 71 set c dest 72 drop old last !A2 !A3 !A4 !A5 !A6 !B2 !B3 !B4 !B5 !B6 !C2 !C3 !C4 !C5 !C6 !D2 !D3 !D4 !D5 !D6 73 flip dest 74 setglobal lastcaptured #p 75 setglobal "dest" #c 76 endsub 77 if sub checked #K 78 if sub stalemated #K 79 say Checkmate! Black has won! 80 won 81 else 82 say Check! 83 endif 84 elseif sub stalemated #K 85 say Stalemate! The game is drawn. 86 drawn 87 endif 88 end 89 90 lib interdependent 91 setsystem maxmove 1 92 ban commands 93 set boardra () 94 for f range a f 95 for r range 1 7 96 push boardra join #f #r 97 next 98 next 99 map n 0 1 s 0 -1 w -1 0 e 1 0 100 map nw -1 1 ne 1 1 sw -1 -1 se 1 -1 101 map nne 1 2 nnw -1 2 sse 1 -2 ssw -1 -2 102 map nee 2 1 nww -2 1 sww -2 -1 see 2 -1 103 map n2 0 2 s2 0 -2 w2 -2 0 e2 2 0 104 map nw2 -2 2 ne2 2 2 sw2 -2 -2 se2 2 -2 105 map tn 0 1 ts 0 -1 tw -1 0 te 1 0 106 map tnw -1 1 tne 1 1 tsw -1 -1 tse 1 -1 107 map tnne 1 2 tnnw -1 2 tsse 1 -2 tssw -1 -2 108 map tnee 2 1 tnww -2 1 tsww -2 -1 tsee 2 -1 109 unlink !* "?" (a? f?) (a? e?) (b? f?) ("?1" "?7") ("?1" "?6") ("?2" "?7") 110 link tn (a7 a1) (b7 b1) (c7 c1) (d7 d1) (e7 e1) (f7 f1) 111 link ts (a1 a7) (b1 b7) (c1 c7) (d1 d7) (e1 e7) (f1 f7) 112 link te (f7 a7) (f6 a6) (f5 a5) (f4 a4) (f3 a3) (f2 a2) (f1 a1) 113 link tw (a7 f7) (a6 f6) (a5 f5) (a4 f4) (a3 f3) (a2 f2) (a1 f1) 114 link tnw (a1 f2) (a2 f3) (a3 f4) (a4 f5) (a5 f6) (a6 f7) (a7 f1) (b7 a1) (c7 b1) (d7 c1) (e7 d1) (f7 e1) 115 link tse (f2 a1) (f3 a2) (f4 a3) (f5 a4) (f6 a5) (f7 a6) (f1 a7) (a1 b7) (b1 c7) (c1 d7) (d1 e7) (e1 f7) 116 link tne (f1 a2) (f2 a3) (f3 a4) (f4 a5) (f5 a6) (f6 a7) (f7 a1) (e7 f1) (d7 e1) (c7 d1) (b7 c1) (a7 b1) 117 link tsw (a2 f1) (a3 f2) (a4 f3) (a5 f4) (a6 f5) (a7 f6) (a1 f7) (f1 e7) (e1 d7) (d1 c7) (c1 b7) (b1 a7) 118 def k logleap #0 #1 s n e w nw ne sw se 119 def n logleap #0 #1 nnw nnw sse ssw nee nww sww see 120 def c logride #0 #1 e w 121 def t logleap #0 #1 s n e w 122 def g logleap #0 #1 nw ne sw se 123 def s logleap #0 #1 s2 n2 e2 w2 nw2 ne2 sw2 se2 124 def u takepiece #0 #1 125 def K logleap #0 #1 s n e w nw ne sw se 126 def N logleap #0 #1 nnw nnw sse ssw nee nww sww see 127 def C logride #0 #1 e w 128 def T logleap #0 #1 s n e w 129 def G logleap #0 #1 nw ne sw se 130 def S logleap #0 #1 s2 n2 e2 w2 nw2 ne2 sw2 se2 131 def U takepiece #0 #1 132 def kL logleaps #0 s n e w nw ne sw se 133 def nL logleaps #0 nnw nnw sse ssw nee nww sww see 134 def cL lograys #0 e w 135 def tL logleaps #0 s n e w 136 def gL logleaps #0 nw ne sw se 137 def sL logleaps #0 s2 n2 e2 w2 nw2 ne2 sw2 se2 138 def KL logleaps #0 s n e w nw ne sw se 139 def NL logleaps #0 nnw nnw sse ssw nee nww sww see 140 def CL lograys #0 e w 141 def TL logleaps #0 s n e w 142 def GL logleaps #0 nw ne sw se 143 def SL logleaps #0 s2 n2 e2 w2 nw2 ne2 sw2 se2 144 sub takepiece from to 145 my dir dist piece 146 set piece cond empty #from space #to space #from 147 set dist distance #from #to 148 set dir direction #from #to 149 set cpt nor empty #from empty #to or capture 150 switch #piece 151 case u U 152 if logride #from #to tnw and match (u U) what #from tse 153 return true 154 elseif logride #from #to tne and == tolower what #from tsw u 155 return true 156 elseif logride #from #to tsw and == tolower what #from tne u 157 return true 158 elseif logride #from #to tse and == tolower what #from tnw u 159 return true 160 endif 161 switch #dist 162 case 1 163 switch #dir 164 case n 165 return == tolower what #from ts cond #cpt g t 166 case s 167 return == tolower what #from tn cond #cpt g t 168 case e 169 return match tolower what #from tw c cond #cpt g t 170 case w 171 return match tolower what #from te c cond #cpt g t 172 case nw 173 return == tolower what #from tse cond #cpt t g 174 case sw 175 return == tolower what #from tne cond #cpt t g 176 case ne 177 return == tolower what #from tsw cond #cpt t g 178 case se 179 return == tolower what #from tnw cond #cpt t g 180 endswitch 181 case 2 182 switch #dir 183 case n 184 return == tolower what #from ts s 185 case s 186 return == tolower what #from tn s 187 case e 188 return == tolower what #from tw c and empty #from te or == tolower what #from tw s 189 case w 190 return == tolower what #from te c and empty #from tw or == tolower what #from te s 191 case nw 192 return == tolower what #from tse s 193 case sw 194 return == tolower what #from tne s 195 case ne 196 return == tolower what #from tsw s 197 case se 198 return == tolower what #from tnw s 199 case nnw 200 return match (N n) what #from ts what #from tse 201 case ssw 202 return match (N n) what #from tn what #from tne 203 case nne 204 return match (N n) what #from ts what #from tsw 205 case sse 206 return match (N n) what #from tn what #from tnw 207 case nww 208 return match (N n) what #from te what #from tse 209 case sww 210 return match (N n) what #from te what #from tne 211 case nee 212 return match (N n) what #from tw what #from tsw 213 case see 214 return match (N n) what #from tw what #from tnw 215 endswitch 216 default 217 switch #dir 218 case e 219 return logride #from #to e and == tolower what #from tw c 220 case w 221 return logride #from #to w and == tolower what #from te c 222 default 223 return false 224 endswitch 225 endswitch 226 break 227 case k K 228 switch #dist 229 case 1 230 switch #dir 231 case n 232 return match tolower what #from ts k g u 233 case s 234 return match tolower what #from tn k g u 235 case e 236 return match tolower what #from tw k g u c 237 case w 238 return match tolower what #from te k g u c 239 case nw 240 return match tolower what #from tse k t u 241 case sw 242 return match tolower what #from tne k t u 243 case ne 244 return match tolower what #from tsw k t u 245 case se 246 return match tolower what #from tnw k t u 247 endswitch 248 case 2 249 switch #dir 250 case n 251 return == tolower what #from ts s 252 case s 253 return == tolower what #from tn s 254 case e 255 return == tolower what #from tw c and empty #from te or == tolower what #from tw s 256 case w 257 return == tolower what #from te c and empty #from tw or == tolower what #from te s 258 case nw 259 return == tolower what #from tse s 260 case sw 261 return == tolower what #from tne s 262 case ne 263 return == tolower what #from tsw s 264 case se 265 return == tolower what #from tnw s 266 case nnw 267 return match (N n) what #from ts what #from tse 268 case ssw 269 return match (N n) what #from tn what #from tne 270 case nne 271 return match (N n) what #from ts what #from tsw 272 case sse 273 return match (N n) what #from tn what #from tnw 274 case nww 275 return match (N n) what #from te what #from tse 276 case sww 277 return match (N n) what #from te what #from tne 278 case nee 279 return match (N n) what #from tw what #from tsw 280 case see 281 return match (N n) what #from tw what #from tnw 282 endswitch 283 default 284 switch #dir 285 case e 286 return logride #from #to e and == tolower what #from tw c 287 case w 288 return logride #from #to w and == tolower what #from te c 289 default 290 return false 291 endswitch 292 endswitch 293 case t T 294 switch #dist 295 case 1 296 switch #dir 297 case n 298 return match tolower what #from ts k g 299 case s 300 return match tolower what #from tn k g 301 case e 302 return match tolower what #from tw k g c 303 case w 304 return match tolower what #from te k g c 305 case nw 306 return match tolower what #from tse k t u 307 case sw 308 return match tolower what #from tne k t u 309 case ne 310 return match tolower what #from tsw k t u 311 case se 312 return match tolower what #from tnw k t u 313 endswitch 314 case 2 315 switch #dir 316 case n 317 return == tolower what #from ts s 318 case s 319 return == tolower what #from tn s 320 case e 321 return == tolower what #from tw c and empty #from te or == tolower what #from tw s 322 case w 323 return == tolower what #from te c and empty #from tw or == tolower what #from te s 324 case nw 325 return == tolower what #from tse s 326 case sw 327 return == tolower what #from tne s 328 case ne 329 return == tolower what #from tsw s 330 case se 331 return == tolower what #from tnw s 332 case nnw 333 return match (N n) what #from ts what #from tse 334 case ssw 335 return match (N n) what #from tn what #from tne 336 case nne 337 return match (N n) what #from ts what #from tsw 338 case sse 339 return match (N n) what #from tn what #from tnw 340 case nww 341 return match (N n) what #from te what #from tse 342 case sww 343 return match (N n) what #from te what #from tne 344 case nee 345 return match (N n) what #from tw what #from tsw 346 case see 347 return match (N n) what #from tw what #from tnw 348 endswitch 349 default 350 switch #dir 351 case e 352 return logride #from #to e and == tolower what #from tw c 353 case w 354 return logride #from #to w and == tolower what #from te c 355 default 356 return false 357 endswitch 358 endswitch 359 case g G 360 switch #dist 361 case 1 362 switch #dir 363 case n 364 return match tolower what #from ts k g u 365 case s 366 return match tolower what #from tn k g u 367 case e 368 return match tolower what #from tw k g u c 369 case w 370 return match tolower what #from te k g u c 371 case nw 372 return match tolower what #from tse k t 373 case sw 374 return match tolower what #from tne k t 375 case ne 376 return match tolower what #from tsw k t 377 case se 378 return match tolower what #from tnw k t 379 endswitch 380 case 2 381 switch #dir 382 case n 383 return == tolower what #from ts s 384 case s 385 return == tolower what #from tn s 386 case e 387 return == tolower what #from tw c and empty #from te or == tolower what #from tw s 388 case w 389 return == tolower what #from te c and empty #from tw or == tolower what #from te s 390 case nw 391 return == tolower what #from tse s 392 case sw 393 return == tolower what #from tne s 394 case ne 395 return == tolower what #from tsw s 396 case se 397 return == tolower what #from tnw s 398 case nnw 399 return match (N n) what #from ts what #from tse 400 case ssw 401 return match (N n) what #from tn what #from tne 402 case nne 403 return match (N n) what #from ts what #from tsw 404 case sse 405 return match (N n) what #from tn what #from tnw 406 case nww 407 return match (N n) what #from te what #from tse 408 case sww 409 return match (N n) what #from te what #from tne 410 case nee 411 return match (N n) what #from tw what #from tsw 412 case see 413 return match (N n) what #from tw what #from tnw 414 endswitch 415 default 416 switch #dir 417 case e 418 return logride #from #to e and == tolower what #from tw c 419 case w 420 return logride #from #to w and == tolower what #from te c 421 default 422 return false 423 endswitch 424 endswitch 425 case s S 426 switch #dist 427 case 1 428 switch #dir 429 case n 430 return match tolower what #from ts k g 431 case s 432 return match tolower what #from tn k g 433 case e 434 return match tolower what #from tw k g c 435 case w 436 return match tolower what #from te k g c 437 case nw 438 return match tolower what #from tse k t 439 case sw 440 return match tolower what #from tne k t 441 case ne 442 return match tolower what #from tsw k t 443 case se 444 return match tolower what #from tnw k t 445 endswitch 446 case 2 447 switch #dir 448 case n 449 return match tolower what #from ts s u 450 case s 451 return match tolower what #from tn s u 452 case e 453 return == tolower what #from tw c and empty #from te or == tolower what #from tw s 454 case w 455 return == tolower what #from te c and empty #from tw or == tolower what #from te s 456 case nw 457 return match tolower what #from tse s u 458 case sw 459 return match tolower what #from tne s u 460 case ne 461 return match tolower what #from tsw s u 462 case se 463 return match tolower what #from tnw s u 464 case nnw 465 return match (N n) what #from ts what #from tse 466 case ssw 467 return match (N n) what #from tn what #from tne 468 case nne 469 return match (N n) what #from ts what #from tsw 470 case sse 471 return match (N n) what #from tn what #from tnw 472 case nww 473 return match (N n) what #from te what #from tse 474 case sww 475 return match (N n) what #from te what #from tne 476 case nee 477 return match (N n) what #from tw what #from tsw 478 case see 479 return match (N n) what #from tw what #from tnw 480 endswitch 481 default 482 switch #dir 483 case e 484 return logride #from #to e and == tolower what #from tw c 485 case w 486 return logride #from #to w and == tolower what #from te c 487 default 488 return false 489 endswitch 490 endswitch 491 case n N 492 switch #dist 493 case 1 494 switch #dir 495 case n 496 return match tolower what #from ts k g 497 case s 498 return match tolower what #from tn k g 499 case e 500 return match tolower what #from tw k g c 501 case w 502 return match tolower what #from te k g c 503 case nw 504 return match tolower what #from tse k t 505 case sw 506 return match tolower what #from tne k t 507 case ne 508 return match tolower what #from tsw k t 509 case se 510 return match tolower what #from tnw k t 511 endswitch 512 case 2 513 switch #dir 514 case n 515 return == tolower what #from ts s 516 case s 517 return == tolower what #from tn s 518 case e 519 return == tolower what #from tw c and empty #from te or == tolower what #from tw s 520 case w 521 return == tolower what #from te c and empty #from tw or == tolower what #from te s 522 case nw 523 return == tolower what #from tse s 524 case sw 525 return == tolower what #from tne s 526 case ne 527 return == tolower what #from tsw s 528 case se 529 return == tolower what #from tnw s 530 case nnw 531 return match (N n U u) what #from ts what #from tse 532 case ssw 533 return match (N n U u) what #from tn what #from tne 534 case nne 535 return match (N n U u) what #from ts what #from tsw 536 case sse 537 return match (N n U u) what #from tn what #from tnw 538 case nww 539 return match (N n U u) what #from te what #from tse 540 case sww 541 return match (N n U u) what #from te what #from tne 542 case nee 543 return match (N n U u) what #from tw what #from tsw 544 case see 545 return match (N n U u) what #from tw what #from tnw 546 endswitch 547 default 548 switch #dir 549 case e 550 return logride #from #to e and == tolower what #from tw c 551 case w 552 return logride #from #to w and == tolower what #from te c 553 default 554 return false 555 endswitch 556 endswitch 557 case c C 558 switch #dist 559 case 1 560 switch #dir 561 case n 562 return match tolower what #from ts k g 563 case s 564 return match tolower what #from tn k g 565 case e 566 return match tolower what #from tw k g c 567 case w 568 return match tolower what #from te k g c 569 case nw 570 return match tolower what #from tse k t 571 case sw 572 return match tolower what #from tne k t 573 case ne 574 return match tolower what #from tsw k t 575 case se 576 return match tolower what #from tnw k t 577 endswitch 578 case 2 579 switch #dir 580 case n 581 return == tolower what #from ts s 582 case s 583 return == tolower what #from tn s 584 case e 585 return match (c C u U) what #from tw and empty #from te or == tolower what #from tw s 586 case w 587 return match (c C u U) what #from te and empty #from tw or == tolower what #from te s 588 case nw 589 return == tolower what #from tse s 590 case sw 591 return == tolower what #from tne s 592 case ne 593 return == tolower what #from tsw s 594 case se 595 return == tolower what #from tnw s 596 case nnw 597 return match (N n) what #from ts what #from tse 598 case ssw 599 return match (N n) what #from tn what #from tne 600 case nne 601 return match (N n) what #from ts what #from tsw 602 case sse 603 return match (N n) what #from tn what #from tnw 604 case nww 605 return match (N n) what #from te what #from tse 606 case sww 607 return match (N n) what #from te what #from tne 608 case nee 609 return match (N n) what #from tw what #from tsw 610 case see 611 return match (N n) what #from tw what #from tnw 612 endswitch 613 default 614 switch #dir 615 case e 616 return logride #from #to e and match tolower what #from tw c u 617 case w 618 return logride #from #to w and match tolower what #from te c u 619 default 620 return false 621 endswitch 622 endswitch 623 endswitch 624 return false 625 endsub 626 def moverange + (logride #0 e w) (logleaps #0 n s n2 s2 nw sw ne se nw2 sw2 ne2 sw2 nnw nnw sse ssw nee nww sww see) 627 sub checked king 628 my from piece 629 if isupper cond empty #king moved space #king 630 def enemies onlylower 631 else 632 def enemies onlyupper 633 endif 634 for (from piece) fn enemies 635 if sub takepiece #from #king 636 return #from 637 endif 638 next 639 return false 640 endsub 641 sub stalemated kingpos 642 store 643 local from piece to 644 if isupper space #kingpos 645 def friends onlyupper 646 def nofriends noupper 647 def friend isupper #0 648 def enemy islower #0 649 set men (C S N G T U) 650 else 651 def friends onlylower 652 def nofriends nolower 653 def friend islower #0 654 def enemy isupper #0 655 set men (c s n g t u) 656 endif 657 store 658 set ra fn KL #kingpos 659 for to var ra 660 if fn #piece #kingpos #to and empty space #to and onboard #to 661 move #kingpos #to 662 set incheck sub checked #to 663 restore 664 verify #incheck 665 endif 666 next 667 set ra fn moverange #kingpos 668 for to var ra 669 if sub takepiece #kingpos #to and fn enemy #to and onboard #to 670 move #from #to 671 set incheck sub checked #to 672 restore 673 verify #incheck 674 endif 675 next 676 restore 677 for (from piece) fn friends 678 switch #piece 679 case k K 680 break 681 case u U 682 set ra fn moverange 683 for to var ra 684 if sub takepiece #from #to and not fn friend space #to and onboard #to 685 move #from #to 686 set incheck sub checked #kingpos 687 restore 688 verify #incheck 689 endif 690 next 691 if match what tne u U 692 set ddir tsw 693 elseif match what tnw u U 694 set ddir tse 695 elseif match what tse u U 696 set ddir tnw 697 elseif match what tsw u U 698 set ddir tne 699 else 700 break 701 endif 702 set ddest #from 703 do 704 set to where #ddest #ddir 705 if fn nofriends #to 706 move #from #to 707 set incheck sub checked #kingpos 708 restore 709 verify #incheck 710 set ddest #to 711 endif 712 loop until fn friend #to 713 break 714 default 715 set ra fn join #piece L #from 716 for to var ra 717 if fn #piece #from #to and empty #to and onboard #to 718 move #from #to 719 set incheck sub checked #kingpos 720 restore 721 verify #incheck 722 endif 723 next 724 set ra fn moverange #from 725 for to var ra 726 if sub takepiece #from #to and fn enemy #to and onboard #to 727 move #from #to 728 set incheck sub checked #kingpos 729 restore 730 verify #incheck 731 endif 732 next 733 break 734 endswitch 735 next 736 for man var men 737 set from findinhand #man 738 if != #from false 739 for to var boardra 740 if empty #to 741 move #from #to 742 set incheck sub checked #kingpos 743 restore 744 verify #incheck 745 endif 746 next 747 endif 748 next 749 return true 750 endsub 751 endlibfunctions
Array ( [k] => Array ( [0] => logleap [1] => #0 [2] => #1 [3] => s [4] => n [5] => e [6] => w [7] => nw [8] => ne [9] => sw [10] => se ) [n] => Array ( [0] => logleap [1] => #0 [2] => #1 [3] => nnw [4] => nnw [5] => sse [6] => ssw [7] => nee [8] => nww [9] => sww [10] => see ) [c] => Array ( [0] => logride [1] => #0 [2] => #1 [3] => e [4] => w ) [t] => Array ( [0] => logleap [1] => #0 [2] => #1 [3] => s [4] => n [5] => e [6] => w ) [g] => Array ( [0] => logleap [1] => #0 [2] => #1 [3] => nw [4] => ne [5] => sw [6] => se ) [s] => Array ( [0] => logleap [1] => #0 [2] => #1 [3] => s2 [4] => n2 [5] => e2 [6] => w2 [7] => nw2 [8] => ne2 [9] => sw2 [10] => se2 ) [u] => Array ( [0] => takepiece [1] => #0 [2] => #1 ) [K] => Array ( [0] => logleap [1] => #0 [2] => #1 [3] => s [4] => n [5] => e [6] => w [7] => nw [8] => ne [9] => sw [10] => se ) [N] => Array ( [0] => logleap [1] => #0 [2] => #1 [3] => nnw [4] => nnw [5] => sse [6] => ssw [7] => nee [8] => nww [9] => sww [10] => see ) [C] => Array ( [0] => logride [1] => #0 [2] => #1 [3] => e [4] => w ) [T] => Array ( [0] => logleap [1] => #0 [2] => #1 [3] => s [4] => n [5] => e [6] => w ) [G] => Array ( [0] => logleap [1] => #0 [2] => #1 [3] => nw [4] => ne [5] => sw [6] => se ) [S] => Array ( [0] => logleap [1] => #0 [2] => #1 [3] => s2 [4] => n2 [5] => e2 [6] => w2 [7] => nw2 [8] => ne2 [9] => sw2 [10] => se2 ) [U] => Array ( [0] => takepiece [1] => #0 [2] => #1 ) [kL] => Array ( [0] => logleaps [1] => #0 [2] => s [3] => n [4] => e [5] => w [6] => nw [7] => ne [8] => sw [9] => se ) [nL] => Array ( [0] => logleaps [1] => #0 [2] => nnw [3] => nnw [4] => sse [5] => ssw [6] => nee [7] => nww [8] => sww [9] => see ) [cL] => Array ( [0] => lograys [1] => #0 [2] => e [3] => w ) [tL] => Array ( [0] => logleaps [1] => #0 [2] => s [3] => n [4] => e [5] => w ) [gL] => Array ( [0] => logleaps [1] => #0 [2] => nw [3] => ne [4] => sw [5] => se ) [sL] => Array ( [0] => logleaps [1] => #0 [2] => s2 [3] => n2 [4] => e2 [5] => w2 [6] => nw2 [7] => ne2 [8] => sw2 [9] => se2 ) [KL] => Array ( [0] => logleaps [1] => #0 [2] => s [3] => n [4] => e [5] => w [6] => nw [7] => ne [8] => sw [9] => se ) [NL] => Array ( [0] => logleaps [1] => #0 [2] => nnw [3] => nnw [4] => sse [5] => ssw [6] => nee [7] => nww [8] => sww [9] => see ) [CL] => Array ( [0] => lograys [1] => #0 [2] => e [3] => w ) [TL] => Array ( [0] => logleaps [1] => #0 [2] => s [3] => n [4] => e [5] => w ) [GL] => Array ( [0] => logleaps [1] => #0 [2] => nw [3] => ne [4] => sw [5] => se ) [SL] => Array ( [0] => logleaps [1] => #0 [2] => s2 [3] => n2 [4] => e2 [5] => w2 [6] => nw2 [7] => ne2 [8] => sw2 [9] => se2 ) [moverange] => Array ( [0] => + [1] => Array ( [0] => logride [1] => #0 [2] => e [3] => w ) [2] => Array ( [0] => logleaps [1] => #0 [2] => n [3] => s [4] => n2 [5] => s2 [6] => nw [7] => sw [8] => ne [9] => se [10] => nw2 [11] => sw2 [12] => ne2 [13] => sw2 [14] => nnw [15] => nnw [16] => sse [17] => ssw [18] => nee [19] => nww [20] => sww [21] => see ) ) [enemies] => Array ( [0] => onlylower ) )uservar
Array ( [0] => Array ( [main] => Array ( [k] => d7 [K] => d1 [boardra] => Array ( [0] => a1 [1] => a2 [2] => a3 [3] => a4 [4] => a5 [5] => a6 [6] => a7 [7] => b1 [8] => b2 [9] => b3 [10] => b4 [11] => b5 [12] => b6 [13] => b7 [14] => c1 [15] => c2 [16] => c3 [17] => c4 [18] => c5 [19] => c6 [20] => c7 [21] => d1 [22] => d2 [23] => d3 [24] => d4 [25] => d5 [26] => d6 [27] => d7 [28] => e1 [29] => e2 [30] => e3 [31] => e4 [32] => e5 [33] => e6 [34] => e7 [35] => f1 [36] => f2 [37] => f3 [38] => f4 [39] => f5 [40] => f6 [41] => f7 ) [f] => f [r] => 7 [cpt] => 1 ) ) [2] => Array ( [checked] => Array ( [subargs] => Array ( [0] => d1 ) [from] => c7 [piece] => u ) [main] => Array ( [king] => d1 ) ) [5] => Array ( [takepiece] => Array ( [subargs] => Array ( [0] => c7 [1] => d1 ) [dir] => sssssse [dist] => 6 [piece] => u ) [main] => Array ( [from] => c7 [to] => d1 ) ) )mline
Array ( [0] => MoveLine Object ( [movenum] => 0 [move] => [level] => 0 [comment] => [length] => 0 [newturn] => [turn] => 0 ) )allmoves
Array ( )movelist
constants
Array