swamimalode07 / SimonsaysGame

This is a Simon Says game built using HTML, CSS, and JavaScript for the frontend, with an Express.js backend and MongoDB for storing user data and leaderboard information.
5 stars 19 forks source link

Sequence Revealed in Console - Bug Impacting Game Credibility #5

Closed rishyym0927 closed 1 month ago

rishyym0927 commented 1 month ago

Description: A bug has been identified where the game sequence is being logged to the console. This exposes the internal logic of the game, potentially compromising its integrity and fairness. Steps to Reproduce

  1. Play the game
  2. Open the browser's developer console
  3. Notice that the sequence is printed in the console, which can be used to predict the game outcome

Expected Behavior:

The sequence should not be logged or revealed in the console to maintain the game's credibility. Suggested Fix:

Please mark this issue under #hacktoberfest and assign it to me

Remove or disable the console logs related to the sequence in the code.

I have a video demonstrating this issue, which I can share for further verification.

https://github.com/user-attachments/assets/91c73ecf-6aa7-4481-8c07-028f7a0acc40

swamimalode07 commented 1 month ago

Sure rishyym0927, Your idea of fixing this bug is great and will certainly enhance the user experience. I've reviewed your proposal and assigned the PR to you. I've also labeled it with hacktoberfest. Looking forward to your implementation!

swamimalode07 commented 1 month ago

Make sure to add images or videos of your before and after PR