Why are my shapes disappearing when I soft-drop in my Tetris implementation?
I’m working on implementing Tetris in JavaScript. I’m new to JavaScript, so the way I’m coding may not be the most practical or efficient seeing as I’m trying to minimize the amount of help I’m getting. That being said, when I try to move down my shape (soft-drop) before the shape appears in the grid, it’ll disappear halfway down the grid whether I let go or not. If the shape is already visible fully, it has no problem soft dropping. Only if I’m holding the down key it has issues.