Tetris help
So I am trying to make the tetris game and I pretty much got the gist of everything but there is one problem: When the tetromino block gets close the bottom the block gets a little funky and starts stacking in a way that is unusual. The comments in the code explain the way the code works. I think its the way the compiler is instead of an error in the code. Let me know what you guys think and pls tell me if there is a way to fix this.
Thanks!
DynamicSquid
It's almost never the compiler.
On line 48:
cout << "\033[0;32m" << "■" << ' ';
You might want to remove the space after the block
ChimaNwosu1
@DynamicSquid Thx, It works for the horizontal spacing but there is still a space between the blocks vertically and when it gets at or near the bottom it still spaces pretty weird.
It's almost never the compiler.
On line 48:
You might want to remove the space after the block