Lecture
Mediaspace scheduled maintenance: Aug 25, 2026 07:00 - 12:00 AM. During this time, videos will be temporarily unavailable. Check status updates.
This lecture covers the implementation of the winning strategy function in the Connect Four game, focusing on checking for a winning condition in the game grid. The instructor explains the logic behind the 'est_ce_gagne' function, which iterates through the grid to find a winning combination of four pieces in a row, column, or diagonal. The lecture also delves into the 'compte' function, which counts the consecutive pieces in a specific direction. By understanding these functions, students can grasp the essential algorithms for determining the game's outcome.