sacha.serny 3 years ago
parent
commit
c71fea55f5
  1. 7
      app.js

7
app.js

@ -5,5 +5,12 @@ function nbAlea() {
} }
var tirage = [nbAlea(), nbAlea(), nbAlea()] var tirage = [nbAlea(), nbAlea(), nbAlea()]
function gain(tirage) { function gain(tirage) {
if (tirage == [9,9,9]) {
player_coins = player_coins + machine_coins
machine_coins = 0
} else if {
} else if {
}
} }
Loading…
Cancel
Save