bruno.chassagnol
3 years ago
1 changed files with 0 additions and 25 deletions
@ -1,25 +0,0 @@ |
|||
<!DOCTYPE html> |
|||
<html> |
|||
<body> |
|||
<script> |
|||
var jeton_bac=1000 |
|||
var jeton_joueur=100 |
|||
num_tir=[] |
|||
alert "bite" ; |
|||
var nb_jet = int(input("combien de jetons voulez vous mettre dans la machine (max:100) ?")) |
|||
if (jeton_joueur > nb_jet && jeton_bac > 500 && nb_jet < 100 && nb_jet> 0) { |
|||
<button oneclick="gain()">lance le jeu</button>} |
|||
function gain() { |
|||
for i in range (3): |
|||
num_tir[i]=nbAlea ()} |
|||
if (num_tir[1]=num_tir[2]),( |
|||
function nbAlea (){ |
|||
var tirage = Math.floor(Math.random() * 10); } |
|||
</script> |
|||
</body> |
|||
</html> |
|||
|
|||
|
|||
|
|||
|
|||
|
Loading…
Reference in new issue