david-pfx / AmzPlayer

A Modern Player for Zillions
Other
14 stars 1 forks source link

Grand Chess: promotion choice unavailable #3

Closed Soolost closed 3 years ago

Soolost commented 3 years ago

Grand Chess comes with standard Zillions, as a variant of Fairy Chess. It's coded by Mark & Jeff.

In Grand Chess a pawn can (only) promote to any piece that has been captured by the opponent. It can optionally promote when moving to the 8th or 9th rank, and it must promote when moving to the 10th rank. So usually there's a choice, and the choices can be different on every eligible move.

Unfortunately, AMZ doesn't present a way to choose and simply disallows moving, although the target square is indicated (by a circle) as a possibility. See, on hovering the mouse above J7: AMZ Grand Chess (3 hover) Screen Shot 2021-08-07

Here's a screemshot without any hovering: AMZ Grand Chess (1) Screen Shot 2021-08-07

Note that the "Possible Moves" list clearly distinguishes between each (promotion) choice from J7. So, why not make that list clickable? I'm sure that's easier said than done. But it would provide a way to play 'ambiguous' moves, in a generic manner (it'll work for every move in the list), without having a modal dialog.

I feel some way to choose is a must-have for a modern Zillions. Even good old Chess needs it, promotion is to a bishop, knight, rook, or queen by player's choice! I made the issue about Grand Chess, because I forgot about Chess ;-).

david-pfx commented 3 years ago

Yes, ambiguous drag and drop moves are on my to-do list. And yes, a clickable list may well be a solution, but it's not really possible with so many moves on the open board before hovering over a piece. Anything to avoid going modal.

But meanwhile...

Did you notice the moves in the first screen are numbered, where the second are not? Pressing the number key will make that move. I guess I need to document that. [Doesn't work so well if there are more than 9...]

Soolost commented 3 years ago

No, I didn't notice, that's (almost) brilliant! That resolves the issue with (Grand) Chess, but not in every case as you've noted.

Unfortunately, the list can be rather long - see this screenshot of HanniBall, hovering above the "White Lion-w-Ball":

AMZ HanniBall Screen Shot 2021-08-08

Here, all drag-n-drops (but one) are 'ambiguous', each with 4 different results.

If only, after a (drag and) drop, the list could be limited to only the moves that have the same target, I would be very happy. A caption like "Pick a number to move" may help. Kinda modal, but it might be 'loosely modal'. Just some thoughts, I gladly leave it up to you. I do see the problem with my original suggestion.

david-pfx commented 3 years ago

Latest release includes support for ambiguous drag and drop.

If this does not fix the problem, please reopen and supply a saved game.