-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
54 lines (54 loc) · 1.77 KB
/
index.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
45
46
47
48
49
50
51
52
53
54
<html>
<head>
<title>Infinite Chess - Board Editor</title>
<script src="https://cdn.jsdelivr.net/npm/p5@1.2.0/lib/p5.min.js"></script>
<script src="editor.js"></script>
<script>
// Enable navigation prompt
window.onbeforeunload = function() {
return true;
};
</script>
<style>
html, body, div, canvas {
margin: 0;
padding: 0;
position: fixed;
}
:root {
touch-action: none;
height: 100%
}
a {
color: #37bfad;
}
a:visited {
color: #37bfad;
}
p {
font-size: 1vw
}
</style>
</head>
<body oncontextmenu="return false;">
<main>
<div id="credits" style="z-index: 100; display: none; font-family: Verdana, sans-serif; color: white;">
<h3>Credits</h3>
<p>Rose, hawk, and witch icons made by <a href="https://musketeerchess.net/" target="_blank">Musketeer Chess</a>.
</br>
</br>
Huygens icon made by <a href="https://www.chess.com/member/vickalan" target="_blank">vickalan</a>
</br>
</br>
The classic chess pieces were made by <a href="https://en.wikipedia.org/wiki/User:Cburnett" target="_blank">Cburnett</a>, the hybrid pieces (chancellor, princess, and amazon) were made by <a href="https://en.wikipedia.org/wiki/User:NikNaks" target="_blank">NikNaks</a>, and the guards were made by <a href="https://en.wikipedia.org/wiki/User:CheChe" target="_blank">CheChe</a>.
</br>
</br>
I made the black amazon myself based off of NikNaks' white version.
</br>
</br>
You can view the source or contribute to the project on github <a href="https://github.com/acou12/infinite-chess" target="_blank">here</a>!
</p>
</div>
</main>
</body>
</html>