Merge branch 'main' of https://git.etud.insa-toulouse.fr/bocquel/Projet_JS
pull
This commit is contained in:
commit
ddf438485a
2 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<button id="debut_game" class="game_button" onclick="chrono()">GO!</button>
|
<!-- <button id="debut_game" class="game_button" onclick="chrono()">GO!</button>-->
|
||||||
<button id="fin_game" class="game_button" onclick="reset()">CIAO</button>
|
<button id="fin_game" class="game_button" onclick="reset()">CIAO</button>
|
||||||
|
|
||||||
<div id="popup" class="popup">
|
<div id="popup" class="popup">
|
||||||
|
|
|
@ -164,6 +164,7 @@ function selectImage(idCase) {
|
||||||
if (first_click) {
|
if (first_click) {
|
||||||
creerGrille(hauteur,largeur,number_mines,x,y) ;
|
creerGrille(hauteur,largeur,number_mines,x,y) ;
|
||||||
first_click = false ;
|
first_click = false ;
|
||||||
|
chrono() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (grille[y][x] == 0) {
|
if (grille[y][x] == 0) {
|
||||||
|
|
Loading…
Reference in a new issue