Score Keeper Project : Enhance the reset function. #10
Labels
Bug-Hercules
This section problems are meant for senior section
easy
it is an easy task
enhancement
New feature or request
feature-implementation
This issue requires you to develop a feature from scratch
JavaScript
JS Language specific
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 -
The text was updated successfully, but these errors were encountered: