Based on the tutorial by Ania Kubow for FreeCodeCamp. This is a javascript tetris game. I compartmentalised some of the repeated code into separate functions. For example, I made a function that ...