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

Overwrite save and handle duplicates #13

Open
lucaswhitaker22 opened this issue Aug 7, 2019 · 1 comment
Open

Overwrite save and handle duplicates #13

lucaswhitaker22 opened this issue Aug 7, 2019 · 1 comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@lucaswhitaker22
Copy link
Owner

Once the shop_name variable is collected from the user, check all saves (get_save function) walk through the array and check if the shop_name is already used.

If it is, ask users if they want to overwrite the past save. If not, ask for a new name.

@lucaswhitaker22 lucaswhitaker22 changed the title Overwrite save Overwrite save and handle duplicates Aug 7, 2019
@lucaswhitaker22
Copy link
Owner Author

If there are duplicate saves, ask user for new save to load.

@lucaswhitaker22 lucaswhitaker22 added bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant