jean-lou.saulnier
3 years ago
7 changed files with 62 additions and 10 deletions
Before Width: | Height: | Size: 96 KiB |
After Width: | Height: | Size: 118 KiB |
@ -0,0 +1,3 @@ |
|||||
|
https://gpatuwo.github.io/css-casino/ |
||||
|
https://fontmeme.com/polices/police-casino-queen/ |
||||
|
https://codepen.io/imetaxas/pen/YGQXwK |
@ -1,19 +1,28 @@ |
|||||
//let machine_sous = new Object();
|
//let machine_sous = new Object();
|
||||
let argent = "" |
let argent |
||||
let nombres = [] |
let nombres = [] |
||||
let bank = 1000 |
let bank = 1000 |
||||
let mise = -1 |
let mise |
||||
let gains = 0 |
let gains = 0 |
||||
|
|
||||
function controle(){ |
function start(){ |
||||
argent = document.getElementById("input").value; |
argent = document.getElementById("input").value; |
||||
test(15); |
regle(); |
||||
|
test(); |
||||
} |
} |
||||
|
|
||||
function test(taille){ |
function test(){ |
||||
for(let i=0; i<taille; i++){ |
|
||||
console.log(i) |
|
||||
} |
|
||||
console.log(argent) |
console.log(argent) |
||||
} |
} |
||||
|
|
||||
|
function regle(){ |
||||
|
console.log("les règles sont .............."); |
||||
|
console.log("Mais aussi ça ............."); |
||||
|
} |
||||
|
|
||||
|
function saisie(){ |
||||
|
mise = document.getElementById("argent").value; |
||||
|
bank += mise; |
||||
|
argent -= mise; |
||||
|
console.log(bank) |
||||
|
} |
Loading…
Reference in new issue