-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
43 lines (36 loc) · 1.47 KB
/
index.htm
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>KartenSchach</title>
<link rel="stylesheet" href="css/style.css">
<script type="text/javascript" src="js/functions.js"></script>
<script type="text/javascript" src="js/board.js"></script>
<script type="text/javascript" src="js/cards.js"></script>
<script type="text/javascript" src="js/feld.js"></script>
<script type="text/javascript" src="js/boardLogic.js"></script>
<script type="text/javascript" src="js/zuggenerator.js"></script>
<script type="text/javascript" src="js/interactive.js"></script>
<script type="text/javascript">
<!--
function start() {
// Parameter: 1=ein Rahmen unsichbarer Felder
var board = createBoard(1);
var cb = g("chessboard");
cb.appendChild(board);
// baut das Brett auf und weist b alle Felder mit den Startpositionen zu
b = setBoard(board);
//testing
var nf = new feld("e6");
var nf2 = new feld("f8");
var nf3 = new feld("g8");
nf.setFigur(new figur("Qw"));
replaceField(getFeldById(nf.id), nf);
//replaceField(getFeldById(nf2.id), nf2);
//replaceField(getFeldById(nf3.id), nf3);
drawField(nf);
}
//--></script>
</head>
<body onLoad="javascript:start();">
<div id="chessboard">
</div>
</body></html>