michel.wang 3 years ago
parent
commit
da904a9777
  1. 5
      app.js
  2. 8
      index.html

5
app.js

@ -0,0 +1,5 @@
var machine_coins = 1000
var player_coins = 100
function nbAlea() {
return Math.floor(Math.random() * 10)
}

8
index.html

@ -3,9 +3,9 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MSJS</title>
<title>Document</title>
</head>
<body>
</body>
<body>
<script src="app.js"></script>
</body>
</html>
Loading…
Cancel
Save