Each player tries to build a row of four playing pieces in the frame – horizontally, vertically, or diagonally – while trying to prevent their opponent from doing the same.