diff --git a/app.js b/app.js index 17ea8d3..1165626 100644 --- a/app.js +++ b/app.js @@ -5,5 +5,12 @@ function nbAlea() { } var tirage = [nbAlea(), nbAlea(), nbAlea()] function gain(tirage) { - + if (tirage == [9,9,9]) { + player_coins = player_coins + machine_coins + machine_coins = 0 + } else if { + + } else if { + + } } \ No newline at end of file