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

BUG: Infinite loop and standstill ends #301

Open
4 tasks done
partha120804 opened this issue Jun 19, 2024 · 3 comments
Open
4 tasks done

BUG: Infinite loop and standstill ends #301

partha120804 opened this issue Jun 19, 2024 · 3 comments
Assignees
Labels
gssoc GirlScript Summer of Code 2024 level2 GSSoC - Requires some effort

Comments

@partha120804
Copy link
Contributor

partha120804 commented Jun 19, 2024

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

The puzzle can get stuck in an infinite loop at the end,
we can maybe find some way to alert the user about it, or stop animation if such an end is reached.

Or sometime we reach an end in which no further animation is possible, but the animation still continues.

Example

Infinite Loop
image

Standstill end
image

Solution

We have to store the grid pattern and compare it to the next pattern for each frame to see if there are any new changes or not, and if there are no changes then it creates a alert box or just pauses animation.

Record

  • I agree to follow this project's Code of Conduct
  • I'm a GSSOC'24 contributor
  • I want to work on this issue
@partha120804
Copy link
Contributor Author

self

@partha120804 partha120804 changed the title BUG: Infinite loop end BUG: Infinite loop and standstill ends Jun 19, 2024
@EternoSeeker
Copy link
Owner

there's also issue with event listeners when grid size is modified, can you look into that too

@partha120804
Copy link
Contributor Author

Ok !

@EternoSeeker EternoSeeker added gssoc GirlScript Summer of Code 2024 level2 GSSoC - Requires some effort labels Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc GirlScript Summer of Code 2024 level2 GSSoC - Requires some effort
Projects
None yet
Development

No branches or pull requests

2 participants