Thanks for your comment! ><
I don't get your meaning of "not supposed to be able to spawn a block when nothing can move".
bcuz when there is nothing to move, than gameover.
Here, for example, no block is supposed to appear if I press ← because nothing moves
I see I see
I am appriciate you point it out.
I fixed it