luceroweb / haunted-house-game

https://luceroweb.github.io/haunted-house-game/
1 stars 12 forks source link

User can obtain multiple Siver keys #98

Open Kvu24 opened 2 years ago

Kvu24 commented 2 years ago

Environment

Device: HP ProBook 440 G7 Processor: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz 2.11 GHz Version: 10.0.19042 Build 19042 Browser: Google Chrome Version 90.0.4430.212 (Official Build) (64-bit) User type: User

Description

User were allowed to obtain multiple silver keys

Expected Behavior

User should be only allow to obtain 1 silver keys

Actual Behavior

User are able to obtain multiple silver keys

Steps to Reproduce Issue

  1. Go to site
  2. Click "Gameplay"
  3. Search until obtaining multiple keys

Notes

Suggesting that only one silver key can be obtain even if user want to continue gameplay

luceroweb commented 2 years ago

@ProjectErostribe is our Haunted House story editor, @alberme is our code editor. Myles, should we disable the ability to get the silver/gold keys more than once? Albert, would it be difficult to code this?

cc @Kvu24 @lreyes-qae

ProjectErostribe commented 2 years ago

@alberme This is the one we decided you wanted to implement. Please let me know when you're ready for text so I can write copy and add it to the EventsData.js

SmiJa commented 2 years ago

@Kvu24 we have chosen to reject this ticket since the game shows the player the present key button in the hallway once the player has a key. We intended for the player to click that button once they have found a key and returned to the hallway.

cc: @luceroweb @lreyes-qae @ProjectErostribe