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-05-29 21:51:30 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
68b5746d7ba9f3374bfaeb1b90c15aee7e906a25
68b5746d
1 parent
d61f5117
JS_test update
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
67 additions
and
7 deletions
JS_test.css
JS_test.html
dusan.js
kia.js
JS_test.css
0 → 100644
View file @
68b5746
.picture1
{
width
:
100px
;
height
:
100px
;
border
:
1px
solid
black
;
}
\ No newline at end of file
JS_test.html
View file @
68b5746
...
...
@@ -6,20 +6,30 @@
<title>
일정
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"calander.css"
>
<script
src =
"kia.js"
></script>
<script
src =
"dusan.js"
></script>
<script
src =
"algorithm.js"
></script>
<script
src =
"shuffle_list.js"
></script>
</head>
<body>
<div
class =
"container1"
>
<ul
class =
"image-container"
>
</ul>
<input
type=
"button"
onclick =
algorithm()
value =
"start"
>
<img
class =
"please"
src=
"player_picture/KIA/KIA_hitter/김호령.jpg"
value=
"1"
>
</div>
<div
class=
"container3"
>
<ul
class =
"image-container"
>
<div>
<img
src=
"player_picture/KIA/KIA_hitter/김호령.jpg"
>
<input
type=
"button"
value =
"김호령"
id =
"김호령"
name =
"kia"
onclick =
shuffle(this)
>
<input
type=
"button"
value =
"삭제"
name =
"김호령"
onclick =
remove(this)
>
</div>
<div>
<img
src=
"player_picture/KIA/KIA_hitter/최형우.jpg"
>
<input
type=
"button"
value =
"최형우"
id =
"최형우"
name =
"kia"
onclick =
shuffle(this)
>
<input
type=
"button"
value =
"삭제"
name =
"최형우"
onclick =
remove(this)
>
</div>
</ul>
</div>
</body>
</html>
\ No newline at end of file
...
...
dusan.js
View file @
68b5746
...
...
@@ -35,4 +35,43 @@ var dusan_pitcher = [
[
'김민규'
,
8.8
,
0.3
],
[
'박종기'
,
3.4
,
0.236
],
[
'이영하'
,
12.8
,
0.388
],
]
\ No newline at end of file
]
var
dusan_hitter_shuffle
=
[
[
'선수명'
,
'AVG'
,
'H'
,
'2B'
,
'3B'
,
'HR'
]
[
'박건우'
,
0.356
,
47
,
9
,
0
,
2
],
[
'허경민'
,
0.345
,
49
,
6
,
0
,
3
],
[
'페르난데스'
,
0.336
,
48
,
5
,
0
,
6
],
[
'최용제'
,
0.308
,
8
,
2
,
0
,
0
],
[
'안재석'
,
0.304
,
14
,
1
,
2
,
0
],
[
'김인태'
,
0.298
,
25
,
3
,
0
,
1
],
[
'김재환'
,
0.285
,
37
,
4
,
1
,
9
],
[
'장승현'
,
0.284
,
23
,
1
,
0
,
1
],
[
'조수행'
,
0.278
,
10
,
1
,
1
,
0
],
[
'양석환'
,
0.277
,
38
,
8
,
0
,
5
],
[
'박계범'
,
0.266
,
21
,
5
,
0
,
2
],
[
'김재호'
,
0.243
,
18
,
1
,
0
,
1
],
[
'오재원'
,
0.22
,
11
,
2
,
0
,
0
],
[
'강승호'
,
0.212
,
7
,
0
,
0
,
2
],
[
'권민석'
,
0.167
,
2
,
1
,
0
,
0
],
[
'박세혁'
,
0.161
,
5
,
0
,
0
,
0
],
[
'안권수'
,
0.133
,
2
,
0
,
0
,
0
],
[
'정수빈'
,
0.125
,
4
,
1
,
0
,
0
]
]
var
dusan_pitcher_shuffle
=
[
[
'선수명'
,
'볼넷%'
,
'피안타율'
]
[
'로켓'
,
7.7
,
0.267
],
[
'미란다'
,
15.3
,
0.259
],
[
'최원준'
,
5.7
,
0.215
],
[
'홍건희'
,
12.5
,
0.224
],
[
'김강률'
,
13.8
,
0.217
],
[
'이승진'
,
7.2
,
0.202
],
[
'유희관'
,
7.7
,
0.381
],
[
'곽빈'
,
15.9
,
0.291
],
[
'김명신'
,
4.1
,
0.303
],
[
'조제영'
,
17.3
,
0.286
],
[
'김민규'
,
8.8
,
0.3
],
[
'박종기'
,
3.4
,
0.236
],
[
'이영하'
,
12.8
,
0.388
],
]
\ No newline at end of file
...
...
kia.js
View file @
68b5746
...
...
@@ -13,7 +13,6 @@ var kia_hitter = [
[
'최형우'
,
0.2
,
18
,
0
,
0
,
4
],
[
'나지완'
,
0.184
,
9
,
1
,
0
,
0
],
[
'김호령'
,
0.163
,
7
,
2
,
0
,
1
],
]
var
kia_pitcher
=
[
...
...
@@ -21,4 +20,9 @@ var kia_pitcher = [
[
'브룩스'
,
5.3
,
0.317
],
[
'멩덴'
,
10
,
0.243
],
[
'이의리'
,
12
,
0.202
]
]
\ No newline at end of file
]
var
kia_hitter_shuffle
=
[]
var
kia_pitcher_shuffle
=
[]
\ No newline at end of file
...
...
Please
register
or
login
to post a comment