Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (60 sloc) 2.21 KB
<!DOCTYPE html>
<?xml version="1.0" encoding="utf-8"?>
<!--
# $Id: $
#
# Copyright (C) 2012 Stoyan Rachev (stoyanr@gmail.com)
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Tower of Hanoi</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/jquery-ui.min.js"></script>
<script src="js/jquery.ui.touch-punch.min.js"></script>
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/themes/ui-lightness/jquery-ui.css" rel="stylesheet" />
<script src="js/tower.js"></script>
<script src="js/disk.js"></script>
<script src="js/game.js"></script>
<link type="text/css" href="css/styles.css" rel="stylesheet" />
</head>
<body>
<h1 id="title">Tower of Hanoi</h1>
<div id="images"></div>
<div id="background">
<div id="fill"></div>
<div id="game"></div>
</div>
<p/>
<table id="footer">
<tr>
<td align="center">
<form id="control">
Disks: <select id="numDisks" size="1">
<option value="3" selected="true">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
</select>&nbsp;&nbsp;
Moves: <span id="moves">0</span>&nbsp;&nbsp;
<input type="button" id="startOver" value="Start Over" />&nbsp;&nbsp;
<a href="http://en.wikipedia.org/wiki/Tower_of_Hanoi" target="_blank">How to Play</a>
</form>
</td>
</tr>
<tr>
<td align="center">Copyright (C) 2012 <a href="http://www.stoyanr.com">Stoyan Rachev</a>. All rights reserved.</td>
</tr>
</table>
</body>
</html>