luceroweb / haunted-house-game

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

Bug: Start Again Button Issue #123

Open luceroweb opened 2 years ago

luceroweb commented 2 years ago

Date Seen: 1/18/22 9:37am

Versions Linux Chrome Version 97.0.4692.71 (Official Build) (64-bit) Haunted House v0.1.0

Bug Description "Start Again" button did not work after dying on Ghost interaction.

Steps to Reproduce

  1. Encountered Ghost
  2. Chose fail answer
  3. Was taken to "Game Over" page
  4. Clicked "Start Again" button
  5. Nothing happened

Actual Behavior Clicked "Start Again" button on the "Game Over" page, and an error appeared in the console that said "object not defined".

Expected Behavior Expected to restart game when "Start Again" button was clicked.

Troubleshooting/Testing Steps Attempted Attempted to click "Start Again" from "Game Won" screen, that link worked.

Workaround When "Start Again" button did not work, I refreshed the page to restart the game.