Left/Right - Move.
Up/Down - Change Tiles.
Space - Shoot Tile.
Clear tiles by shooting matching tiles at them. The tiles you clear will line up at the bottom of the screen. With the bottom is filled, it will clear 1 full line for each color of tile that has been cleared.
If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).