forked from zachgates/takuzu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (69 loc) · 3.09 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<title>Takuzu</title>
<meta name="description" content="A brain game." />
<link rel="icon" type="image/png" href="img/icon.png" />
<link rel="apple-touch-icon-precomposed" href="img/icon.png"/>
<link rel="shortcut icon" type="image/png" href="img/icon.png" />
<link rel="stylesheet" type="text/css" href="fonts/fonts.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="js/jquery-3.3.1.js"></script>
<script type="text/javascript" src="js/realshadow.min.js"></script>
<script type="text/javascript" src="js/tinycolor.js"></script>
<script type="text/javascript" src="js/defaults.js"></script>
<script type="text/javascript" src="js/setup.js"></script>
<script type="text/javascript" src="js/game.js"></script>
<script type="text/javascript" src="js/object.js"></script>
<script type="text/javascript" src="js/block.js"></script>
<script type="text/javascript" src="js/grid.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-61039602-1', 'auto');ga('send', 'pageview');
</script>
</head>
<body>
<img class='icon' src="img/icon.png" width="100" height="100" draggable="false" ondragstart="return false;"></img>
<div class="intro" id="Intro">
<h1 class='introHeading' id='mainHeading'>Takuzu</h1>
<h2 class='introClick'>Click anywhere to play.</h2>
</div>
<div class="mainMenu" id="MainMenu">
<a id='report-bug' href='https://github.com/zachgates/takuzu/issues'></a>
<h1 class='heading' id='mainHeading'>Takuzu</h1>
<h1 class='score' id='score'>0</h1>
<div id="menuButtonContainer">
<table id="menu">
<tr>
<td class="menuButton" id="4x4" onclick="startGame(4)"><h1>4</h1></td>
<td class="menuButton" id="6x6" onclick="startGame(6)"><h1>6</h1></td>
<td class="menuButton" id="8x8" onclick="startGame(8)"><h1>8</h1></td>
</tr>
<!--
<tr>
<td class="menuButton" id="10x10" onclick="startGame(10)"><h1>10</h1></td>
</tr>
-->
</table>
<div class="menuButton" id="playGame"></div>
<div class="menuButton" id="menuHowToPlay"></div>
</div>
</div>
<div id="GameContainer">
<h1 class='heading' id='gameHeading'>Takuzu</h1>
<div id="gameButtonContainer">
<div class="button" id="restartBtn"><h1>Restart</h1></div>
<div class="button" id="surrenderBtn"><h1>Surrender</h1></div>
<div class="button" id="undoBtn"><h1>Undo</h1></div>
</div>
<div id="gameHowToPlay">
<p>
<rule>Get the same number of each colored tile in every row and column.</rule>
<br><br><br>
<rule>Have no identical rows or columns.</rule>
<br><br><br>
<rule>Have no more than two same-colored tiles next to each other.</rule>
</p>
</div>
</div>
</body>
</html>