diff --git a/case_0.png b/case_0.png new file mode 100644 index 0000000..43d2628 Binary files /dev/null and b/case_0.png differ diff --git a/case_1.png b/case_1.png new file mode 100644 index 0000000..ebb7475 Binary files /dev/null and b/case_1.png differ diff --git a/case_2.png b/case_2.png new file mode 100644 index 0000000..ed29af6 Binary files /dev/null and b/case_2.png differ diff --git a/case_3.png b/case_3.png new file mode 100644 index 0000000..aaabc73 Binary files /dev/null and b/case_3.png differ diff --git a/case_4.png b/case_4.png new file mode 100644 index 0000000..3907567 Binary files /dev/null and b/case_4.png differ diff --git a/case_5.png b/case_5.png new file mode 100644 index 0000000..423b1e4 Binary files /dev/null and b/case_5.png differ diff --git a/case_6.png b/case_6.png new file mode 100644 index 0000000..6980115 Binary files /dev/null and b/case_6.png differ diff --git a/case_7.png b/case_7.png new file mode 100644 index 0000000..41c61dc Binary files /dev/null and b/case_7.png differ diff --git a/case_8.png b/case_8.png new file mode 100644 index 0000000..5d8c5e4 Binary files /dev/null and b/case_8.png differ diff --git a/case_9.png b/case_9.png new file mode 100644 index 0000000..4de775e Binary files /dev/null and b/case_9.png differ diff --git a/demineur.html b/demineur.html index de68c9e..e846418 100644 --- a/demineur.html +++ b/demineur.html @@ -34,10 +34,7 @@ -
- - -
+ diff --git a/demineur.js b/demineur.js index 89b184f..dae1c66 100644 --- a/demineur.js +++ b/demineur.js @@ -1,4 +1,4 @@ -class Case { +class Case_grille { constructor(x, y) { this.posX = x; this.posy = y; @@ -8,8 +8,52 @@ class Case { } } -<<<<<<< HEAD -======= + + + +let grille = []; +let hauteur = 7; +let largeur = 7; +let number_mines = 10 ; + + + + + +function creerGrille(haut, larg,mine_nb) { + + grille.length = haut; + for (var i=0;i row.startsWith(name + '='))?.split('=')[1]; } ->>>>>>> d322df708ea3bd0301a054980adc49db1c96d181 + function sleep(ms){ return new Promise(resolve => setTimeout(resolve, ms)); @@ -55,20 +99,6 @@ function Cookies() { //Cookies(); -let grille = []; -let hauteur = 7; -let largeur = 7; - -function creerGrille(haut, larg) { - grille.length = haut; - for (var i=0;i>>>>>> 2a2cf84cf311b49f5c290c8502b43f35efa7ec30 }