정주희

Update simulation

......@@ -78,6 +78,10 @@ body{
font-size:15px;
border-radius:5px;
}
.t1:hover{
color:#0053b3;
background-color: #2E294E;
}
.row{
display:flex;
justify-content: space-evenly;
......@@ -102,6 +106,10 @@ body{
font-size:15px;
border-radius:5px;
}
.t2:hover{
color:#be4209;
background-color: #2E294E;
}
.l{
width:33%;
height:200px;
......@@ -118,24 +126,26 @@ body{
text-align:center;
}
.simul{
width:50%;
height:150px;
display:flex;
float:left;
margin-top:50px;
margin-left:250px;
}
.but{
height:150px;
margin: 0px auto;
margin: auto;
text-align:center;
}
.simulbtr{
width:250px;
width:200px;
height:50px;
color: #c9d6de;
border: 1px solid #c9d6de;
background: black;
font-size:30px;
margin-top:50px;
font-size:20px;
border-radius:5px;
margin-right:5px;
}
.simulbtr:hover{
color:#7700ff;
background-color: #2E294E;
}
.tb{
padding: 10px 0px 0px 90px;
......@@ -156,3 +166,9 @@ td{
overflow-x: auto;
background-color:white;
}
#select_list{
width:50%;
margin: auto;
text-align:center;
margin-bottom:50px;
}
\ No newline at end of file
......
......@@ -6,6 +6,7 @@
<script src = "player.js"></script>
<script src = "temp_algorithm.js"></script>
<script src = "simulation.js"></script>
<script src = "predict.js"></script>
</head>
<body>
<div class="container1">
......@@ -125,12 +126,11 @@
<img src="pngs/dusan.png" id="home" class="vs">
</div>
<div class="simul">
<div class="but">
<input type="button" onclick="pre_algorithm(hitter_list1, hitter_list2, pitcher1, pitcher2);" class="simulbtr" value="시뮬레이션">
<input type="button" onclick="add_predict();" class="simulbtr" value="승률예측">
</div>
<div class="result">
</div>
<div id="select_list">
<select name="pr" id="pr" onclick="predict(this.value, hitter_list1, hitter_list2, pitcher1, pitcher2);"></select>
</div>
<div id="jstest"></div>
</div>
......