How to Shift Rows Down and Clear Them (Tetris C++)

I’m working on a version of Tetris in C++ for a university class. However, I’m having trouble with shifting rows down and clearing them once they’re full. We’re supposed to be using the structures that are defined. I’ve been sitting on this for hours and I can’t figure it out. Any advice? Here is a link to my code so far:

Source link

More To Explore

Share on facebook
Share on twitter
Share on linkedin
Share on email