Use mouse or touch.
Collapse the blocks by tapping groups of horizontally or vertically connected same-color blocks. On each collapse you will obtain a score. The bigger the group you collapse, the higher a score you will get. You can eliminate any single block until you have bombs in your inventory.