probleme_8_dames.py

Created by florian-allard

Created on July 15, 2025

5.99 KB

Le problème des 8 dames consiste à placer 8 dames sur un échiquier sans qu’elles ne se menacent mutuellement. Chaque dame menace toute dame qui est sur la même ligne ou sur la même colonne ou sur la même diagonale.

Dans la première phase du jeu, on place une dame dans chaque colonne. Dans la seconde phase, on déplace les dames dans leur colonne respective, pour trouver la solution.


During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.