all-the-plugins icon indicating copy to clipboard operation
all-the-plugins copied to clipboard

tetris_game 7-bag randomizer not being reset after a game over

Open Alloy-Lou opened this issue 1 year ago • 4 comments

The 7 bag randomizer is not being reset after a game over or when starting a new game

How to reproduce :

  • Drop exactly 5 piece
  • Press back button ("The game is now paused")
  • Press menu button (Start a new game)
  • Notice the first dropping piece doesn't follow the 7-bag rule, with a bit of luck you'll notice the falling piece and the next piece being the exact same.

Also works after a game over. Not sure that when pressing the menu button while the game is paused, starting a new game is an intended behavior.

I also have a few suggestions to improve the game (such as implementing counter-clockwise rotation with up button, or add hold feature, improve piece preview with more previews, add lock delay, improve scoring system with b2bs... -> being closer to the official Tetris Guideline), I'd happily contribute.

Alloy-Lou avatar Jan 03 '24 17:01 Alloy-Lou

the center button isn't supposed to start a new game when paused, that's a bug

not resetting after a game over is a bug too

noiob avatar Feb 06 '24 15:02 noiob

I fixed these bugs and I'm currently working on additional features, feel free to dm me on Discord (@alloy_lou), maybe we could work together?

Alloy-Lou avatar Feb 10 '24 16:02 Alloy-Lou

sorry, I pretty much just fixed some stuff that annoyed me in the game so it'd be more fun for me. I'm not really a C dev :D

noiob avatar Feb 10 '24 17:02 noiob

oh i see, i recently started C too. Would you at least be interested in testing the game so I could have feedback, or find bugs i wouldn't have seen alone?

Alloy-Lou avatar Feb 11 '24 14:02 Alloy-Lou