when I press the Run button, I get a text list of legal moves for White, one per line, before the board.
Ah, sorry about that. I had been debugging the other day, and had accidentally left in one of the print statements I had added for that purpose in the betza.txt file. In the mode where I tested it ('Move' from the menu) this output does not show up at the start of the game, but only after the GAME code crashes (which after debugging it did not do anymore). So I had not noticed this. I removed that print statement now.
You forgot to capitalize K and Q in the h part.
I don't think the 'promotables' belong in the Pre-Game code. This would indicate which pieces promote with the choice that is specified in the promotab (which is N, H or L on last rank). But you don't want any choice; you just want them to promote automatically as specified in the morphers/morphs arrays. Did the Play-Test Applet generate that 'set promotables' line? And was that while you had maxPromote=0 in the ID?
Ah, sorry about that. I had been debugging the other day, and had accidentally left in one of the print statements I had added for that purpose in the betza.txt file. In the mode where I tested it ('Move' from the menu) this output does not show up at the start of the game, but only after the GAME code crashes (which after debugging it did not do anymore). So I had not noticed this. I removed that print statement now.
You forgot to capitalize K and Q in the h part.
I don't think the 'promotables' belong in the Pre-Game code. This would indicate which pieces promote with the choice that is specified in the promotab (which is N, H or L on last rank). But you don't want any choice; you just want them to promote automatically as specified in the morphers/morphs arrays. Did the Play-Test Applet generate that 'set promotables' line? And was that while you had maxPromote=0 in the ID?