Check out Glinski's Hexagonal Chess, our featured variant for May, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

About Game Courier. Web-based system for playing many different variants by email or in real-time.[All Comments] [Add Comment or Rating]
Greg Strong wrote on Sun, Apr 10, 2016 07:45 PM EDT:
Hi Fergus.  I sent you an email.  I'm unable to take your rook in KMS.  I get the following error:

ifhead[3] is switch

Syntax Error on line 5

The include command may not be used except at the main level.

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 setglobal piecekeys k d h r b g s l n p z K D H R B G S L N P Z
   3 set promote assoc z (n l s g) p (n l s g) n (l s g) l (s g) s (g) g () k () r (d) b (h) d () h () Z (N L S G) P (N L S G) N (L S G) L (S G) S (G) G () K () R (D) B (H) D () H ()
   4 alias +b h +B H +r d +R D
   5 include shogi
   6 setflag rules

Thanks,
Greg