The edge of the board, and the corners, should be avoided at all costs, at least until the very end of the game. Any piece placed on the edge of the board can never be enclosed, so if you have even one piece on the edge and your opponent doesn't, when you play in opposite corners they'll win.