The objectif is to destroy the gray and the green cubes before they reach the bottom of the board. For every 3 cubes missed, one line from the grid will be removed.
The red cubes should not be destroyed by the player, if so, one line will be removed for every red cube destroyed.
The game is over if you only have 4 grid lines left.