sacha.serny
3 years ago
1 changed files with 5 additions and 1 deletions
@ -1,5 +1,9 @@ |
|||||
var machine_coins = 1000 |
var machine_coins = 1000 |
||||
var player_coins = 100 |
var player_coins = 100 |
||||
function nbAlea() { |
function nbAlea() { |
||||
return Math.floor(Math.random() * 10) |
return Math.floor(Math.random() * 10); |
||||
|
} |
||||
|
var tirage = [nbAlea(), nbAlea(), nbAlea()] |
||||
|
function gain(tirage) { |
||||
|
|
||||
} |
} |
Loading…
Reference in new issue