ryanb / govsgo

Rails 3 app for playing the board game Go online.
http://govsgo.com
MIT License
140 stars 23 forks source link

undo feature #44

Open shimari opened 13 years ago

shimari commented 13 years ago

It would be nice to be able to undo the last move. Even better would be if you could rewind to any part of a game and try a variation.

ryanb commented 13 years ago

Thanks for the suggestion. Trying variations makes sense for play against GNU Go but not so much for playing against other players. However I do hope to have a variation editor so one can try out other paths and add comments.

As for the Undo feature, I would like this too to avoid miss-clicks. This is especially a problem with mobile devices. I am thinking a "confirm" move button would make sense in that situation, but for fast play on the desktop I think a confirm button would get annoying. I'll need to experiment with a few ideas to figure out the best user experience.

elisehuard commented 13 years ago

you could maybe use an undo link/button, with a grace period, like for gmail email sending: you get a certain amount of time to undo a move.

ryanb commented 13 years ago

@elisehuard, thanks for the suggestion. The only problem with this is that the move cannot take place until the undo grace period has ended. When a game is played live or against GNU Go the wait will be really noticeable. It is definitely something I want to improve though.