lichess.org
Donate

Pre-move Logic

So. I pre-moved "capture rook on c7." My opponent instead vacated that square, and rook went to c6. My queen went to c7 anyway, and died. Is it impossible to program it to cancel a pre-move if the capture is no longer valid?

Of course, I'll just stop pre-moving, but this seemed really really really ridiculous.
It's perfectly logical as is. If you have time on your clock, only pre-move when you know for sure that moving that piece to that square is going to be good for you. For example, most re-captures are safe to pre-move.

If you're in a time scramble, risky pre-moves can be worth it sometimes.
For exactly this reason, I only ever premove either recaptures (so if the opponent doesn't capture, the premove is illegal and cancels itself), absolutely forcing moves, or completely safe moves where no conceivable move by my opponent would leave me putting a piece en prise.

I also generally play Rapid or longer, so having to premove in time trouble is not a very frequent occurence.
@Qveen_Sacrifice The pre-move doesn't know your intent was to capture. The pre-move simply says "move my queen to c7". It wasn't a good choice to pre-move for that scenario.
#1 Not an unreasonable suggestion, but #3 hits the nail on the head (Lichess isn't interested in adding code) in saying:

If you're in a time scramble, risky pre-moves can be worth it sometimes.
@Toadofsky
Thank you. I just wrongly assumed that the capture was bundled with the pre-move, and paid the price. My "logical" suggestion was in fact an emotional outburst.

Thanks everyone else for the superfluous thumbs down.
Honestly... it's not a bad assumption, it's just that technology isn't advanced enough to make code maintenance easy (and many players will find the more complex option - that premoves involving a capture only sometimes work - too complex or too risky of losing on time).
So. I pre-moved "capture rook on c7."

NO. You pre-moved your queen to c7, the capture was just a side effect of moving your queen there.
#9 Telling players "you did it wrong" isn't the best way to start a conversation (when it's possible or desirable to have one).

This topic has been archived and can no longer be replied to.