Check whether player has three in a row.