-
Notifications
You must be signed in to change notification settings - Fork 6
/
testplay.html
44 lines (37 loc) · 1.24 KB
/
testplay.html
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
<html><head>
<meta name="viewport" id="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" type="text/css" href="style/Seshat/stylesheet.css">
<link rel="stylesheet" type="text/css" href="style/style-play.css">
<script src="js/jspdf.umd.min.js"></script>
<script src="js/svg2pdf.umd.min.js"></script>
<script src="js/svg.js"></script>
<script src="js/Seshat-normal.js"></script>
<script src="js/generator.js"></script>
<script src="js/core.js"></script>
<script src="js/player.js"></script>
<title>Chronicles of Stampadia - TEST online</title>
</head>
<body onload="onl()" style="background-color:#900">
<div id="header">
<a href='index.html' class="logo"></a><br>
</div>
<div id="table"></div>
<div id="credits"></div>
</body><script>
function onl() {
var
core=new Core();
core.initialize(()=>{
var player=new DungeonPlayer(
core.generateAdventureDaily(0,{
//heroId:"rogue",
setMixMode:true,
footer:"T"
}));
document.getElementById("credits").innerHTML=core.getWebFooter();
document.getElementById("table").innerHTML="";
player.play(document.getElementById("table"));
});
}
</script>