0

This Python repo: https://github.com/SpicyInstaNoods/B-Type_Tetris is where I want to base off my game coding (more like cloning) experience. I want to start off with B-Type Tetris, then add NES-style rotations (no kicks, essentially) to make A-Type Tetris. However, a problem arise: When calling draw_to_grid(), the cells occupy new_game.grid[:][3:5]. Every single type of tetromino cell does that. resulting window with bug

I may have messed up the coordination as I was using no infographics or reference materials and typed the positions and indices manually, but I am stumped as to why the drawing "loops" downward. Really thankful for all your help!

  • Please, if you could, pulling the repo is a much-preferred option. Code suggestions are always welcome whenever they fix any of my problems ad not raise other inconsistencies or bugs. Huge thanks in advance! – Dương Trọng Việt Mar 01 '21 at 10:53
  • You have to add the relevant code to the question. A link to an off-size resource is not sufficient. Stack Overflow is neither a debug nor a code-writing service. Please read [How to create a Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) and [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask). – Rabbid76 Mar 01 '21 at 16:02
  • The repo is the code I wrote, if you don't seem to mind. – Dương Trọng Việt Mar 05 '21 at 13:57

0 Answers0