Your goal is to build walls around the pig to keep him from escaping. Click on a tile to place a block there. Keep placing blocks until you've surrounded the pig. Don't let it get to one of the edge tiles!
Click on the tiles to place a block