mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
inline ChessPursuit
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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>
|
||||
Reference in New Issue
Block a user