Islam Slimani scored twice but Algeria's Africa Cup of Nations hopes were ended after a 2-2 draw with Senegal in Franceville.
Tunisia scored twice in the second half to beat Algeria and haul themselves back into contention for an AFCON quarter-finals place.
Riyad Mahrez scored twice but Algeria had to settle for a draw with rank outsiders Zimbabwe in an AFCON encounter in Franceville.
Lightning-quick striker Pierre-Emerick Aubameyang leads the cast of superstar names as the 2017 tournament begins in Gabon on Saturday.
Nigeria claimed the Under-23 Africa Cup of Nations after their 2-1 success over Algeria in Dakar.
After defeat to Algeria at the Under-23 AFCON tournament in Dakar, South Africa have one more chance of qualifying for Rio 2016.
South Africa’s semi-final opponents, Algeria, will provide a stern test of the team’s attacking prowess having topped Group B.
Christian Gourcuff will remain as Algeria coach despite their quarter-final elimination from the Africa Cup of Nations.
Madjid Bougherra has retired from international football after Algeria's elimination from the African Cup of Nations.
A brace by Cote d’Ivoire star Wilfried Bony and a goal by Gervinho has booked their spot in the AFCON semi-finals.
Five standout performers from the group stage of this year's Africa Cup of Nations, which concluded on Wednesday evening.
Algeria now look set to be without their deadly striker, Islam Slimani, for their crucial Group C match against Senegal.
Lakhdar Belloumi has called on his country's team head coach, Christian Gourcuff, to inject new faces against Senegal.
Asamoah Gyan returned from a bout of malaria to score a stoppage-time winner and keep Ghana's AFCON hopes alive with a 1-0 win over Algeria.
Ghana coach Avram Grant makes two changes from his previous line-up as the Black Stars take on Algeria in Mongomo.