Ghana took the lead in the 14th minute through a penalty by André Ayew, awarded after Christian Atsu was brought down by Bouna Coundoul. Senegal equalized in the 58th minute as Mame Biram Diouf headed in the rebound after his initial header hit the post, and won the game in the third minute of injury time as Moussa Sow shot home a pass from Diouf.[2][3]
South Africa took the lead in the 51st minute, as Thuso Phala shot home a pass from Sibusiso Vilakazi. They missed the chance to increase the lead four minutes later after Tokelo Rantie's penalty, awarded for a foul on Vilakazi by Aïssa Mandi, hit the bar and went out, and conceded the equalizer in the 67th minute, as Thulani Hlatshwayo headed Yacine Brahimi's cross into his own goal. Algeria took the lead as Faouzi Ghoulam received Sofiane Feghouli's cross, ran into the penalty area and hammered past the goalkeeper, and sealed the win in the 83rd minute, after Ishak Belfodil fed Islam Slimani, whose shot squirmed through the goalkeeper's hands.[5][6]
The only goal was scored in the second minute of second half injury time, as Asamoah Gyan chased down a long pass from Mubarak Wakaso to give Ghana the victory.[8][9]
South Africa took the lead in the 17th minute, as Mandla Masango volleyed in a headed clearance from the Ghana defence from outside the penalty area. Ghana equalized in the 73rd minute, when André Ayew's shot fell to John Boye to score. André Ayew clinched the win for Ghana with a header from a Baba Rahman cross in the 83rd minute, confirming Ghana as group winners, while South Africa were eliminated.[14][15]
Algeria took the lead in the 11th minute, when Madjid Bougherra's long free kick found Riyad Mahrez to score. They sealed the win in the 82nd minute after Nabil Bentaleb received Sofiane Feghouli's pass on the edge of the penalty area and shot home. As a result, Algeria advanced as group runners-up (behind Ghana based on head-to-head record), while Senegal were eliminated.[17][18]