inline ChessPursuit

This commit is contained in:
Jonathan Gamble
2025-04-04 11:48:52 -05:00
parent 0a3ada4af4
commit 12092f351f
2 changed files with 55 additions and 0 deletions
File diff suppressed because one or more lines are too long
+54
View File
@@ -0,0 +1,54 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<script type="text/javascript" src="game.js"></script>
<style type="text/css">
body{
background-color: #000;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
html,body,canvas{
margin:0;
padding: 0;
}
canvas,svg{
display: block;
position: absolute;
top: 0;
left: 0;
}
svg{
overflow: hidden;
}
#root{
cursor: pointer;
}
.help{
box-sizing: border-box;
font-size: 14px;
padding: 8px;
color: #999;
font-family: sans-serif;
text-align:center;
position: absolute;
left:0;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<div class="help">
Use arrow keys or mouse to move around. <br>
You can use the 'return' key to pause the game (but that's cheating !). <br>
You don't need to really know the <a href="https://en.wikipedia.org/wiki/Chess#Movement">chess rules</a> to play, but that could definitely help!
</div>
</body>
</html>