diff --git a/potain05/assets/jeu.js b/potain05/assets/jeu.js index 4f066f9..20a7fa8 100644 --- a/potain05/assets/jeu.js +++ b/potain05/assets/jeu.js @@ -82,6 +82,6 @@ function end() { } function increment() { - score++; + score += Math.floor(Math.random() * zones.length); document.getElementById("score").innerText = score.toString(); } diff --git a/potain05/assets/style.css b/potain05/assets/style.css index 360a11f..6422c48 100644 --- a/potain05/assets/style.css +++ b/potain05/assets/style.css @@ -86,7 +86,7 @@ a { .img-holder .zone { position: absolute; display: block; - background-color: red; + background-color: #c6ff50; } .img-holder .zone.inactive, diff --git a/potain05/index.html b/potain05/index.html index 877b2c3..2f53cb7 100644 --- a/potain05/index.html +++ b/potain05/index.html @@ -22,8 +22,8 @@

Jeu interactif

- Aide Pimpin le technicien à reboucher les fuites !
- Score : 0
+ Aide Pimpin le technicien à reboucher les fuites de fluide frigorigène !
+ Score : 0 kg CO2e non rejetés dans l'atmosphère