-
Notifications
You must be signed in to change notification settings - Fork 4
/
example.html
32 lines (23 loc) · 1.39 KB
/
example.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
<!doctype html>
<html>
<head>
<title>Backgammon Tournament</title>
<meta name="description" content="Multiple backgammon games playing each other">
<meta name="author" content="Max Irwin">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="backgammon.css" scalable="1222">
<style type="text/css">#footer, #footer > a {clear:left;font-family:sans-serif;font-weight:bold;padding-top:10px;}</style>
</head>
<body>
<div id="boards"></div>
<div id="footer">Powered by <a href="https://github.com/binarymax/backgammon.js">backgammon.js</a>. MIT Licence, copyright 2013. Made with love by <a href="http://binarymax.com">Max Irwin</a> (<a href="http://max.io">blog</a>).</div>
<script type="text/javascript" src="jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="backgammon.min.js"></script>
<script type="text/javascript">
//Let the games begin!
backgammon.boards = backgammon.tournament(24,505);
//Google Analytics
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-22107593-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
</script>
</body>
</html>