<html>
<head>
<title></title>
<style type="text/css">
.highlight{color:red}
</style>
<script type="text/javascript">
var totalMoney = 10000;
var theChoose = "BIG";
var inputMoney = 0;
function go(){
document.getElementById("div1").style.display="none";
document.getElementById("game").style.display="block";
//alert(document.getElementById("input1").value);
}
function setChoose(){
var list = document.forms[0].chooseList;
theChoose = list.options[list.selectedIndex].value;
}
function ifAgain(){
}
function myCommit(){
//alert("GGG");
inputMoney = parseInt(document.getElementById("inputMoney").value);
var randone = Math.floor(Math.random()*6 + 1);
var randtwo = Math.floor(Math.random()*6 + 1);
var
自己用JavaScript写的一个很简单的骰子大小赌博模拟
最新推荐文章于 2022-08-14 17:16:11 发布