김건우

JS_test update

1 +
2 +
3 +.picture1{
4 + width: 100px;
5 + height: 100px;
6 + border: 1px solid black;
7 +}
...\ No newline at end of file ...\ No newline at end of file
...@@ -6,20 +6,30 @@ ...@@ -6,20 +6,30 @@
6 <title>일정</title> 6 <title>일정</title>
7 <link rel="stylesheet" type="text/css"href="calander.css"> 7 <link rel="stylesheet" type="text/css"href="calander.css">
8 <script src = "kia.js"></script> 8 <script src = "kia.js"></script>
9 + <script src = "dusan.js"></script>
9 <script src = "algorithm.js"></script> 10 <script src = "algorithm.js"></script>
11 + <script src = "shuffle_list.js"></script>
10 </head> 12 </head>
11 <body> 13 <body>
12 <div class = "container1"> 14 <div class = "container1">
13 - <ul class = "image-container">
14 -
15 - </ul>
16 <input type="button" onclick = algorithm() value = "start"> 15 <input type="button" onclick = algorithm() value = "start">
17 - <img class = "please" src="player_picture/KIA/KIA_hitter/김호령.jpg" value="1">
18 </div> 16 </div>
19 17
20 18
21 <div class="container3"> 19 <div class="container3">
20 + <ul class = "image-container">
22 21
22 + <div>
23 + <img src="player_picture/KIA/KIA_hitter/김호령.jpg">
24 + <input type="button" value = "김호령" id = "김호령" name = "kia" onclick = shuffle(this)>
25 + <input type="button" value = "삭제" name = "김호령" onclick = remove(this)>
26 + </div>
27 + <div>
28 + <img src="player_picture/KIA/KIA_hitter/최형우.jpg">
29 + <input type="button" value = "최형우" id = "최형우" name = "kia" onclick = shuffle(this)>
30 + <input type="button" value = "삭제" name = "최형우" onclick = remove(this)>
31 + </div>
32 + </ul>
23 </div> 33 </div>
24 </body> 34 </body>
25 </html> 35 </html>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -35,4 +35,43 @@ var dusan_pitcher = [ ...@@ -35,4 +35,43 @@ var dusan_pitcher = [
35 ['김민규', 8.8, 0.3], 35 ['김민규', 8.8, 0.3],
36 ['박종기', 3.4, 0.236], 36 ['박종기', 3.4, 0.236],
37 ['이영하', 12.8, 0.388], 37 ['이영하', 12.8, 0.388],
38 -]
...\ No newline at end of file ...\ No newline at end of file
38 +]
39 +
40 +var dusan_hitter_shuffle = [
41 + ['선수명', 'AVG', 'H', '2B', '3B', 'HR']
42 + ['박건우', 0.356, 47, 9, 0, 2],
43 + ['허경민', 0.345, 49, 6, 0, 3],
44 + ['페르난데스', 0.336, 48, 5, 0, 6],
45 + ['최용제', 0.308, 8, 2, 0, 0],
46 + ['안재석', 0.304, 14, 1, 2, 0],
47 + ['김인태', 0.298, 25, 3, 0, 1],
48 + ['김재환', 0.285, 37, 4, 1, 9],
49 + ['장승현', 0.284, 23, 1, 0, 1],
50 + ['조수행', 0.278, 10, 1, 1, 0],
51 + ['양석환', 0.277, 38, 8, 0, 5],
52 + ['박계범', 0.266, 21, 5, 0, 2],
53 + ['김재호', 0.243, 18, 1, 0, 1],
54 + ['오재원', 0.22, 11, 2, 0, 0],
55 + ['강승호', 0.212, 7, 0, 0, 2],
56 + ['권민석', 0.167, 2, 1, 0, 0],
57 + ['박세혁', 0.161, 5, 0, 0, 0],
58 + ['안권수', 0.133, 2, 0, 0, 0],
59 + ['정수빈', 0.125, 4, 1, 0, 0]
60 + ]
61 +
62 + var dusan_pitcher_shuffle = [
63 + ['선수명', '볼넷%', '피안타율']
64 + ['로켓', 7.7, 0.267],
65 + ['미란다', 15.3, 0.259],
66 + ['최원준', 5.7, 0.215],
67 + ['홍건희', 12.5, 0.224],
68 + ['김강률', 13.8, 0.217],
69 + ['이승진', 7.2, 0.202],
70 + ['유희관', 7.7, 0.381],
71 + ['곽빈', 15.9, 0.291],
72 + ['김명신', 4.1, 0.303],
73 + ['조제영', 17.3, 0.286],
74 + ['김민규', 8.8, 0.3],
75 + ['박종기', 3.4, 0.236],
76 + ['이영하', 12.8, 0.388],
77 + ]
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -13,7 +13,6 @@ var kia_hitter = [ ...@@ -13,7 +13,6 @@ var kia_hitter = [
13 ['최형우', 0.2, 18, 0, 0, 4], 13 ['최형우', 0.2, 18, 0, 0, 4],
14 ['나지완', 0.184, 9, 1, 0, 0], 14 ['나지완', 0.184, 9, 1, 0, 0],
15 ['김호령', 0.163, 7, 2, 0, 1], 15 ['김호령', 0.163, 7, 2, 0, 1],
16 -
17 ] 16 ]
18 17
19 var kia_pitcher = [ 18 var kia_pitcher = [
...@@ -21,4 +20,9 @@ var kia_pitcher = [ ...@@ -21,4 +20,9 @@ var kia_pitcher = [
21 ['브룩스', 5.3, 0.317], 20 ['브룩스', 5.3, 0.317],
22 ['멩덴', 10, 0.243], 21 ['멩덴', 10, 0.243],
23 ['이의리', 12, 0.202] 22 ['이의리', 12, 0.202]
24 -]
...\ No newline at end of file ...\ No newline at end of file
23 +]
24 +
25 +var kia_hitter_shuffle = []
26 +
27 +var kia_pitcher_shuffle = []
28 +
...\ No newline at end of file ...\ No newline at end of file
......