1
0
mirror of https://github.com/taigrr/JSCheckers synced 2025-01-18 04:33:13 -08:00

Initial commit.

This commit is contained in:
Tai Groot
2015-08-16 21:27:35 -07:00
commit ca7435b93e
8 changed files with 434 additions and 0 deletions

42
index.html Executable file
View File

@@ -0,0 +1,42 @@
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
</head>
<link rel="stylesheet" type="text/css" href="gameStyles.css"/>
<center>
<div id="game">
<div id="gameBoard" class='noselect'>
<div id="options">
<div id="scoreHolder" class="inline">
<span id='title'>Checkers!</span>&nbsp;&nbsp;&nbsp;&nbsp;
<div id="soundHolder" class="inline" onclick="mute()">
</div>
</div>
</div><br>
<div id="board">
<canvas id="myCanvas" class='inline' width="800" height="800" style="border:3px solid #98999A;">
Your browser does not support the HTML5 canvas tag. <br>
Try using a more modern browser, like <a href="https://www.google.com/chrome/browser/">Google Chrome</a>,to play the game.
</canvas>
<div id="iconHolder" background-image='checkers.png'>
</div>
</div>
</div>
<br>
<div id="buttons">
<center>
<button onclick="newGame()">
New Game
</button>
</center>
</div>
</div>
</center>
<script src="gameScripts.js">
</script>
<script>
newGame();
</script>
</html>