Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart Button #66

Closed
Leoactionz opened this issue Oct 5, 2021 · 4 comments · Fixed by #72
Closed

Restart Button #66

Leoactionz opened this issue Oct 5, 2021 · 4 comments · Fixed by #72
Assignees
Labels
hacktoberfest tag for issues meant to be tackled during hacktoberfest. Type: Enhancement New feature or request

Comments

@Leoactionz
Copy link
Contributor

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.

@Leoactionz Leoactionz added the Type: Enhancement New feature or request label Oct 5, 2021
@github-actions
Copy link

github-actions bot commented Oct 5, 2021

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.

@tkshill tkshill added hacktoberfest tag for issues meant to be tackled during hacktoberfest. Status: Available This issue is free to be worked on. labels Oct 6, 2021
@tkshill
Copy link
Owner

tkshill commented Oct 6, 2021

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.

@Leoactionz
Copy link
Contributor Author

image

@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.

Restart button whilst the game is still on

Now I am thinking about an Undo button to reverse a recent move.

@tkshill
Copy link
Owner

tkshill commented Oct 10, 2021

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.

@tkshill tkshill removed the Status: Available This issue is free to be worked on. label Oct 10, 2021
@tkshill tkshill linked a pull request Oct 10, 2021 that will close this issue
@tkshill tkshill closed this as completed Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest tag for issues meant to be tackled during hacktoberfest. Type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants