Swap faces to clear the field of black and brown tiles. Tiles will be closed entities, but first level you will be able to remember their location. Same color face three or more pieces collected in the line will be cleared under a field and remove themselves.