kahhe / pe

Repo for potential bugs I found for CS2113T Practical Exam
0 stars 0 forks source link

Issue continuing an a freshly created account #3

Open kahhe opened 2 years ago

kahhe commented 2 years ago

Going back to main page after creating a new account does not save it. Keyed in the required player ID but app did not recognise. Data should be saved even though no game records have been created yet? But is only upon exiting from app?

Enter your player name: heng
Remember your ID to continue your game next time: heng-201204360

Game Loading ...
0 ███████████████████] 100%
  ____          _        _   _             _
 / ___|___   __| | ___  | | | |_   _ _ __ | |_
| |   / _ \ / _` |/ _ \ | |_| | | | | '_ \| __|
| |__| (_) | (_| |  __/ |  _  | |_| | | | | |_
 \____\___/ \__,_|\___| |_| |_|\__,_|_| |_|\__|
There you go!
Type "help" to see a list of available commands.

start       Start and then choose your difficulty level.
check       Check Current Game Progress.
card        Manage your holding cards. You can view coding knowledge here!
help        Display a list of available commands.
back        Back to main menu.

Code Hunt [GAME MENU] > back
newgame     Start a new game.
continue    Continue the game stored previously.
help        Display a list of available commands.
about       Display information about Code Hunt.
exit        Exit Code Hunt.

Code Hunt [MAIN MENU] > continue
Enter your player ID: heng-201204360
heng-201204360.dat not found or does not exists. Default settings will be loaded.

Enter your player name: heng
Remember your ID to continue your game next time: heng-201233990
soc-se-bot commented 2 years ago

Team's Response

No details provided by team.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

Special character name had no exception or warning that it was not available but when tried again, no player found

image.png

Perhaps it would be better to have a validity check for valid name?


[original: nus-cs2113-AY2122S1/pe-interim#2452] [original labels: type.FeatureFlaw severity.Medium]

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

Thank you for your question. However, as shown in UG, this id is used for next time use. You can not retrieve the same id when you are using it for the first time as it is not stored until you exit the game using this id. Still, you may use other ids to open a new player count.

Items for the Tester to Verify

:question: Issue duplicate status

Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)

Reason for disagreement: [replace this with your explanation]


:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]