From c71fea55f53699ece976f5e9d216d35885837111 Mon Sep 17 00:00:00 2001 From: "sacha.serny" Date: Thu, 24 Mar 2022 08:37:05 +0100 Subject: [PATCH] hi --- app.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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