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

[Feature] : Add Pause/Start Button Functionality #82

Closed
aditya-bhaumik opened this issue May 30, 2024 · 2 comments · Fixed by #165
Closed

[Feature] : Add Pause/Start Button Functionality #82

aditya-bhaumik opened this issue May 30, 2024 · 2 comments · Fixed by #165
Assignees
Labels
enhancement New feature or request gssoc This Contribution is under GSSOC'24 level2

Comments

@aditya-bhaumik
Copy link
Collaborator

Description:

Currently, the project lacks the ability to pause and resume the simulation once it starts. To enhance user control and interaction, i want to add a Pause/Start button that allows users to pause the simulation at any time and resume it when needed.

Feature Details:

Add a new button labeled "Pause" that allows users to pause the simulation.
When the simulation is paused, the background animation and timer should stop.
Change the button label to "Start" when the simulation is paused to indicate that clicking it will resume the simulation.
Upon clicking the "Start" button, the simulation should resume from where it was paused, with the background animation and timer continuing.

Expected Behavior:

When the simulation is running, the "Pause" button should be visible and functional.
Clicking the "Pause" button should pause the simulation, changing the button label to "Start".
Clicking the "Start" button should resume the simulation from where it was paused, with the button label changing back to "Pause".
The background animation and timer should pause and resume along with the simulation.

Enables users to pause and resume the simulation at any point, providing greater flexibility and interactivity.

@sk66641 please assign me this issue under gssoc'24

Copy link

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊

You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

@sk66641 sk66641 added enhancement New feature or request gssoc This Contribution is under GSSOC'24 level2 labels May 30, 2024
Copy link

github-actions bot commented Jun 6, 2024

Hello @aditya-bhaumik! Your issue #82 has been closed. Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc This Contribution is under GSSOC'24 level2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants