-
Notifications
You must be signed in to change notification settings - Fork 75
Score Keeper Project : Enhance the reset function. #10
Copy link
Copy link
Open
Labels
Bug-HerculesThis section problems are meant for senior sectionThis section problems are meant for senior sectionJavaScriptJS Language specificJS Language specificeasyit is an easy taskit is an easy taskenhancementNew feature or requestNew feature or requestfeature-implementationThis issue requires you to develop a feature from scratchThis issue requires you to develop a feature from scratch
Metadata
Metadata
Assignees
Labels
Bug-HerculesThis section problems are meant for senior sectionThis section problems are meant for senior sectionJavaScriptJS Language specificJS Language specificeasyit is an easy taskit is an easy taskenhancementNew feature or requestNew feature or requestfeature-implementationThis issue requires you to develop a feature from scratchThis issue requires you to develop a feature from scratch
PROJECT FOLDER - bug-hercules/score-keeper-project


CURRENT STATE - The reset function currently changes the 'playing to' field back to undefined. However, whenever we push the reset button, the 'playing to' field should remain as it was defined by the user prior to resetting this field.
DESIRED STATE - To address the above issue, implement a functionality to ensure that when resetting the score, the 'playing to' field is also reset to its previous value.
For example, if the 'playing to' field was set to 7 before resetting the game, it should revert back to 7 after the result.
LEVEL - Easy
FOR - BugHercules (Senior Section)
Problem that is being encountered can be understood via below images :-
Before Reset -
After Reset -