Skip to content

Score Keeper Project : Enhance the reset function. #10

@Dhriti-lab

Description

@Dhriti-lab

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 -
Screenshot (41)
After Reset -
Screenshot (43)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug-HerculesThis section problems are meant for senior sectionJavaScriptJS Language specificeasyit is an easy taskenhancementNew feature or requestfeature-implementationThis issue requires you to develop a feature from scratch

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions