Fixed the bug!
Also I plan to make it such that if you're in a sticky spot and keep getting unlucky with which number is chosen, there's a way to possibly free yourself & survive. Thanks for the help🙏🙏
New bug (probably from fixing the old one): when you push down a column, it keeps flashing. (just a visual thing, you cant push it multiple times at once.)
Also, I would suggest a bag system for the columns (Say, a column can only get pushed down 3 times in total before every other one is), to fix getting unlucky, but any solution is good