Rules are simple: same blocks will disappear if they are in a row, a column or diagonal. At least three same blocks should be besides each other.