1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>詰め将棋</title>
<link rel="stylesheet" href="style.css" />
<script src="../../db/ajax.js"></script>
<script src="global.js"></script>
<script src="sasite.js"></script>
<script src="sasite-node.js"></script>
<script src="sasite-path.js"></script>
<script src="kyokumen.js"></script>
<script src="kifu-io.js"></script>
<script src="view.js"></script>
<script src="edit-view.js"></script>
<script src="controller-panel.js"></script>
<script src="setting-panel.js"></script>
<script src="tsume-shogi.js"></script>
<style>
body div {
margin: auto;
}
.tsume-shogi > textarea:first-child {
display: none;
}
</style>
<script>
function get_kifu(div, callback) {
var kifu = div.children[0].value;
if (!kifu) return; // undefined or null
var kifu_io = new _kifu_io();
try {
var data = kifu_io.data_from_kifu(kifu);
callback(data);
} catch (e) {
return;
}
}
</script>
</head>
<body>
<div class="tsume-shogi"><textarea>
kyokumen:3DHD7D8d,200,224024i,
sasite:
/
/43cu
43D52
63cu/
/63cu
63D52
43cu/
/
</textarea></div>
</body>
</html>