Restart Button
Closed this issue · 4 comments
Issue Context
Player frustrated on how to restart game
Suggested Solution
A restart button will be much better than having the players refresh the entire web page
See here in the read me for how to run and install the application.
See here in contributing for the basics on forking and cloning the repository.
Thank you for the issue! We'll take your request into consideration and will follow up soon if we decide to tackle this issue.
To all contributors: any issue that is labeled Status: Available
is up for grabs.
To claim an issue to work on, please leave a comment. If you've claimed the issue and need help, please leave a comment letting us know and we can schedule some time to help.
For full info on how to contribute, please check out our contributors guide.
thanks for the issue @LeoUCon!
I'd like to expand the context on the issue as well. Specifically, what does a good solution look like? Like, where should we place the button on the page? Once we establish that, I think we're more comfortable with opening it up for someone to tackle.
@tkshill, thanks for the response. There is a restart button already at the end of each game.
Another one can be added close to the about link
at the top right corner of the homepage. This will appear when a player has moved a unique piece. This button will enable them to start over when they make the wrong move.
A possible solution could look like the image below.
Now I am thinking about an Undo button to reverse a recent move.
I would suggest perhaps having the restart button live underneath or adjacent to the in game elements rather than the nav bar.
Undo
would be cool but would a bit more complex than restart. Since we'd have to start tracking the last player action taken. Not impossible, just harder.