Get your piece to the far row on your opponent's side first and you win.
On your turn, either move one square or place one block.
Turn a block with the rotate button, then place it to send your opponent the long way round. You may never seal a path off completely.