Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-open-source
/
BaseBallSimulator
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
정주희
2021-06-10 05:45:10 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8c6fbf2c9ba54d44565fd93abdb47e75547219b3
8c6fbf2c
1 parent
2108f57d
Update simulation
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
15 deletions
simulation.css
simulation.html
simulation.css
View file @
8c6fbf2
...
...
@@ -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
:
2
5
0px
;
width
:
2
0
0px
;
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
;
...
...
@@ -155,4 +165,10 @@ td{
overflow-y
:
scroll
;
overflow-x
:
auto
;
background-color
:
white
;
}
#select_list
{
width
:
50%
;
margin
:
auto
;
text-align
:
center
;
margin-bottom
:
50px
;
}
\ No newline at end of file
...
...
simulation.html
View file @
8c6fbf2
...
...
@@ -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=
"시뮬레이션"
>
</div>
<div
class=
"result"
>
</div>
<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
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>
...
...
Please
register
or
login
to post a comment