Skip to content
New issue

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

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

Already on GitHub? # to your account

Added Customizable Gameplay Time Duration #133

Merged
merged 8 commits into from
Oct 22, 2023

Conversation

SoumyadevSaha
Copy link
Contributor

@SoumyadevSaha SoumyadevSaha commented Oct 21, 2023

Fixes Issue🛠️

Closes #132

Description👨‍💻

Aplied Changes

  1. Customizable GamePlay Time: I have modified the "Choose GamePlay Time" section to allow users to select any time duration between 30 seconds and 5 minutes. This enhancement provides users with more flexibility in choosing their preferred game duration.

  2. Updated Game Logic: To accommodate the change in customizable time duration, I have updated the game logic (main.js under assets/) to ensure that the selected time is reflected accurately in the gameplay. This includes adjusting time tracking.

  3. Maintained Responsiveness: I've taken care to ensure that the game remains responsive across different devices and screen sizes. The changes made to the "Choose GamePlay Time" section and the overall game interface should adapt well to various screen dimensions.

Type of change📄

  • New feature (non-breaking change which adds functionality)

How this has been tested✅

I have applied the changes and tested them out in my local machine. I have played the game using different time frames, and it starts with, pauses, ends and plays out in expected manner (the expected time frame and duration). I have also seen to it so that the responsiveness is not compromised.

Additional notes

The main chnges are the files : main.html, main.css and main.js under assets/ folder and in the README.md file to reflect the new display for the "Choose GamePlay Time Box".

Checklist✅

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added demonstration in the form of GIF/video file
  • I am an Open Source Contributor

Screenshots/GIF📷

GamePlayTime Box Customized

@netlify
Copy link

netlify bot commented Oct 21, 2023

Deploy Preview for click-the-edible-game ready!

Name Link
🔨 Latest commit d111cc2
🔍 Latest deploy log https://app.netlify.com/sites/click-the-edible-game/deploys/653538603c806100086e2e80
😎 Deploy Preview https://deploy-preview-133--click-the-edible-game.netlify.app/assets/main
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Rakesh9100
Copy link
Owner

When we are using the slider for changing the time while choosing, the time change should be visible while sliding the slider @SoumyadevSaha Pls work on it

@SoumyadevSaha
Copy link
Contributor Author

SoumyadevSaha commented Oct 22, 2023

When we are using the slider for changing the time while choosing, the time change should be visible while sliding the slider @SoumyadevSaha Pls work on it

fixed : the time change is now getting reflected in real time while sliding the slider. Pls do check @Rakesh9100 .

@Rakesh9100
Copy link
Owner

Rakesh9100 commented Oct 22, 2023

Good Work!! Congrats on getting your quality PR merged to this repo under SLoP 3.0 🥳🎉 @SoumyadevSaha

@Rakesh9100 Rakesh9100 merged commit ed7826b into Rakesh9100:main Oct 22, 2023
@Rakesh9100 Rakesh9100 added Completed 🥳 PR successfully merged and issue resolved on completion slop3.0 SLoP 3.0 Open Source Program labels Oct 22, 2023
@SoumyadevSaha
Copy link
Contributor Author

Good Work!! Congrats on getting your quality PR merged to this repo under SLoP 3.0 🥳🎉 @SoumyadevSaha

give @SoumyadevSaha 150 points

Thank you so much 😁

@Rakesh9100
Copy link
Owner

give @SoumyadevSaha 150 points

@SoumyadevSaha SoumyadevSaha deleted the time_range branch October 28, 2023 09:36
@SoumyadevSaha SoumyadevSaha restored the time_range branch October 28, 2023 09:36
@Rakesh9100 Rakesh9100 changed the title Feature Enhancement: Customizable GamePlay Time Duration Added Customizable Gameplay Time Duration Feb 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Completed 🥳 PR successfully merged and issue resolved on completion slop3.0 SLoP 3.0 Open Source Program
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Custom Gameplay Time Durations
2 participants