Browse Source

fix psuh

master
sacha.serny 3 years ago
parent
commit
fc608dddaf
  1. 25
      app.js

25
app.js

@ -24,21 +24,6 @@ function gain(tirage) {
if (tirage == [9,9,9]) { if (tirage == [9,9,9]) {
player_coins = player_coins + machine_coins player_coins = player_coins + machine_coins
machine_coins = 0 machine_coins = 0
<<<<<<< HEAD
} else if(tirage[0] == tirage[1] == tirage[2]) {
} else if(tirage[0] == tirage[1] || tirage[1] == tirage[2] || tirage[0] == tirage[2]) {
}
var button = document.createElement("BUTTON");
var button_1 = document.createTextNode("CLICK ME");
function regle() {
btn.appendChild(button_1);
document.body.appendChild(button);
}
=======
} else if (tirage[0] == tirage[1] && tirage[1]== tirage[2]) { } else if (tirage[0] == tirage[1] && tirage[1]== tirage[2]) {
console.log("E") console.log("E")
} else if (tirage[0] == tirage[1] || tirage[1] == tirage[2] || tirage[0] == tirage[2]) { } else if (tirage[0] == tirage[1] || tirage[1] == tirage[2] || tirage[0] == tirage[2]) {
@ -48,9 +33,14 @@ function regle() {
} }
} }
function regles() {
var button = document.createElement("BUTTON");
var button_1 = document.createTextNode("CLICK ME");
function regle() {
btn.appendChild(button_1);
document.body.appendChild(button);
} }
function main() { function main() {
var machine_coins = 1000 var machine_coins = 1000
@ -67,4 +57,3 @@ function main() {
} }
} }
>>>>>>> ab707c2fcc7fbbba50a93643f30bca75186a5143

Loading…
Cancel
Save