Pre move

Sort:
Avatar of Random0301

Good day.

I have a technical suggestion. Is it possible to program pre-move ability to recognize if pre-move was made to occupied square or not? My idea is that sometimes you want to pre-move a capture, however if your opponent moves a piece from that square - I don't want my piece to go there anymore. I assume this is not that hard to do considering that even during animation we can see that pre-move to occupied square is different color.

Avatar of Martin_Stahl
Random0301 wrote:

Good day.

I have a technical suggestion. Is it possible to program pre-move ability to recognize if pre-move was made to occupied square or not? My idea is that sometimes you want to pre-move a capture, however if your opponent moves a piece from that square - I don't want my piece to go there anymore. I assume this is not that hard to do considering that even during animation we can see that pre-move to occupied square is different color.

It's probably technically possible, for a single premove, but not how the premoves are designed to work. They're designed to be premoves to squares, regardless, unless the move is illegal.

Multiple premoves would also not be possible, in many cases, due to changing board states.

Avatar of Random0301

Thanks for your answer, I am just not sure if I understand what are you trying to say. Cause I understand how they are designed now. I just believe it could be designed with "pre-move if capture is available" in mind  
And yes, I understand that would void multiple pre-moves, but my argument still stands.

Avatar of Guest0601261751
Please Sign Up to comment.

If you need help, please contact our Help and Support team.