Tetris on Google Sheets (2018)

Tetris on Google Sheets (2018)

If you don’t know, Apps Script is the scripting language for Google apps like Sheets, Docs and Forms etc. Thus I refactored part of project 2 to make it less like an App Script project and more like any other app, with objects, abstractions, and nice methods like  or  which would take care of all the references and named ranges for me. But the tile has a three by three bounding box, and thus when the piece is entering the opening, so does its bounding box, and so, the extra column is ruining the stacked up tiles as it is moving down, by clearing everything in its trail.

Source: plumsempy.com