01
C’est Léo qui détient le record du labyrinthe. Il a réussi à le terminer en six coups !
02
Léo se demande s’il peut faire encore mieux. Il pense qu’il peut y arriver en cinq coups seulement.
03
Construisez un labyrinthe comme celui de Léo. Voyons si vous pouvez le terminer en quatre coups.
04 -BI
05
Voici votre défi : créer un programme pour le labyrinthe. Essayez de le terminer en quatre coups.
06
![U4L4_img_step_7.png](https://assets.education.lego.com/v3/assets/blt293eea581807678a/blt62ad9a0bdee12ef2/611bb081df0bce149854d970/45345_Model_U4L4_01.png?locale=fr-fr&auto=webp&format=jpeg&width=1800&quality=90&fit=bounds)
Créez le programme. Celui-ci comptabilisera le nombre de coups (inclinaisons) nécessaires pour terminer le labyrinthe.
07
![U4L4_img_step_8.gif](https://assets.education.lego.com/v3/assets/blt293eea581807678a/blt8727258c59540b1b/5f06cb57e5f0487064a76a82/U4L4_img_step_8.gif?locale=fr-fr&auto=webp&format=jpeg&width=1800&quality=90&fit=bounds)
Testez le programme.
08
Modifiez le programme pour déclencher une réaction différente lorsque le labyrinthe est incliné.
09
![U4L4_inspiration_img_1.png](https://assets.education.lego.com/v3/assets/blt293eea581807678a/blt0300fbb4ca9c9d77/5eeb968d688c1c62a49ae7c2/U4L4_inspiration_img_1.png?locale=fr-fr&auto=webp&format=jpeg&width=216&height=124&quality=90&fit=bounds)
![U4L4_inspiration_img_1.png](https://assets.education.lego.com/v3/assets/blt293eea581807678a/blt0300fbb4ca9c9d77/5eeb968d688c1c62a49ae7c2/U4L4_inspiration_img_1.png?locale=fr-fr&auto=webp&format=jpeg&width=216&height=124&quality=90&fit=bounds)
![U4L4_inspiration_img_2.png](https://assets.education.lego.com/v3/assets/blt293eea581807678a/blt2864fe4620be153c/5eeb96906b547b2c37e3ad19/U4L4_inspiration_img_2.png?locale=fr-fr&auto=webp&format=jpeg&width=216&height=124&quality=90&fit=bounds)
![U4L4_inspiration_img_3.png](https://assets.education.lego.com/v3/assets/blt293eea581807678a/bltfa1fede675a17934/5eeb969134f8f30c7cfb2e98/U4L4_inspiration_img_3.png?locale=fr-fr&auto=webp&format=jpeg&width=216&height=124&quality=90&fit=bounds)
Améliorez le labyrinthe en ajoutant différents obstacles.