Bug: BlockRain Activity Game Over Logic Fails When Side Columns Are Full
- When the game side columns reach the top, the game does not end. Instead, the game-over state only triggers once the middle column is filled. This behavior is non-standard compared to typical Tetris-like games, which usually end as soon as any column reaches the top boundary.
- Sugarizer also states that it follows standard Tetris rules, where the game should end when any column reaches the top boundary.
Hmmm. That's true but it comes from the original library. I doubt it could be solved.
@llaske Sir, I'll give it a try and see if I can figure something out.
Hey @AliHassan245 , I’ve sent a PR fixing the game-over condition. Now, the game ends as soon as any column reaches the top. Let me know if any changes are needed!
-
Hey @akhileshdasari2004 @AdityaKrSingh26 ,thanks for your contribution. I want to point out that that I had already resolved this issue and was waiting for the maintainer @llaske to officially tag it as a bug before submitting my PR. because as per our guidelines (https://github.com/llaske/sugarizer/blob/master/CONTRIBUTING.md), PRs should only be made to approved issues. In the future, it would be helpful if we double-check whether someone has already started work on an issue to avoid duplicate efforts.
-
@llaske, as I mentioned earlier, I had already resolved this issue and was waiting for you to officially tag it as a bug before submitting my PR. Please let me know if I should proceed with the PR.
https://github.com/user-attachments/assets/565fbc5a-be93-4baa-9f09-5652bc70d20b
It's not a competition we should all be happy to improve open source software. Fixed in https://github.com/llaske/sugarizer/pull/1741
- Hey @akhileshdasari2004 @AdityaKrSingh26 ,thanks for your contribution. I want to point out that that I had already resolved this issue and was waiting for the maintainer @llaske to officially tag it as a bug before submitting my PR. because as per our guidelines (https://github.com/llaske/sugarizer/blob/master/CONTRIBUTING.md), PRs should only be made to approved issues. In the future, it would be helpful if we double-check whether someone has already started work on an issue to avoid duplicate efforts.
- @llaske, as I mentioned earlier, I had already resolved this issue and was waiting for you to officially tag it as a bug before submitting my PR. Please let me know if I should proceed with the PR.
blockrain3.mp4
Hey @AliHassan245, got it! Appreciate the clarification.