Thanks for adding the attachment--honestly, I think it's a good idea. It works for me, so I'm guessing something went wrong with trying to copy it from the web link.
(I should add, it works with bash Tetris_Game.sh, but does NOT work with sh Tetris_Game.sh. Nothing wrong with that of course, it's a bash script, not a /bin/sh script).
Thanks for your efforts, and thank you for creating it as an attachment.