Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement]: Whack-a-mole speed slider for difficulty #3266

Closed
1 task done
Ritax2003 opened this issue May 14, 2024 · 3 comments · Fixed by #3268
Closed
1 task done

[Enhancement]: Whack-a-mole speed slider for difficulty #3266

Ritax2003 opened this issue May 14, 2024 · 3 comments · Fixed by #3268
Assignees
Labels
Enhancement ⚡️ gssoc GSSoC24 program label

Comments

@Ritax2003
Copy link
Contributor

Do you want to have the enhancement of existing game ? 😀 Describe yourself..

Game enhancement

Describe the solution you'd like

Will add a slider element in html file before starting of the game, then in mole.js file i will make a variable speed with default value of 2500 ms. then on windows.onload i will get the input of range from user by getelementByid , as the range will be in integer, so i will make change in the speed by speed = 3000 - speed slider value *500. in setinterval function i will send the speed value. the higher the slider , the mole will appear with more speed. Also will change the titile form 'Whac-a-mole' to 'Whack-a-mole'.
Screenshot 2024-05-14 081655

Select program in which you are contributing

GSSoC24

Code of Conduct

@kunjgit
Copy link
Owner

kunjgit commented May 14, 2024

Hey @Ritax2003 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹️

@kunjgit kunjgit added gssoc GSSoC24 program label Enhancement ⚡️ labels May 14, 2024
@Ritax2003
Copy link
Contributor Author

/assign

@kunjgit
Copy link
Owner

kunjgit commented May 15, 2024

Hey @Ritax2003 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ⚡️ gssoc GSSoC24 program label
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants