Bug#845269: patch to make backspace to 'undo' last move

Bill Allombert ballombe at debian.org
Wed Oct 24 12:42:25 BST 2018


On Sat, Oct 20, 2018 at 07:17:16PM +0200, Markus Koschany wrote:
> Hi Bill,
> 
> > that causes backspace to undo the last move. This makes this program
> > much more enjoyable.
> 
> I just tried your "undo" patch for brutalchess. I don't think it is
> complete yet. I have to press backspace twice to undo a move. But if
> this is done, I can't play another move with the same player. In case
> the second player is the computer, no other moves are possible then.

Thanks to have taken the time to try my patch.
As you can see it only add a keystroke for a feature that was already
in the original code (unlimited undo).

I agree the behavior is a bit odd (you have to press backspace 3 times
to undo a move) but I am used to it so "it works for me" :)
The only serious bug is if you try to undo the first move, then it
freezes.

I will look whether I can improve it.

Cheers
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 



More information about the Pkg-games-devel mailing list