blob: 46cd1c77843b57501f0588cc8b69c1e4349bfdf4 (
plain) (
blame)
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
|
<!DOCTYPE html>
<html>
<head>
<title>Reversi - Scala.js example</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<h1>Reversi - Scala.js example</h1>
<p>Somewhat inspired by
<a href="http://davidbau.com/reversi/">http://davidbau.com/reversi/</a></p>
<div id="playground">
</div>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="./target/scala-2.10/reversi-fastopt.js"></script>
<script type="text/javascript">
$(function() {
var mainInstance = new Reversi(
jQuery, jQuery("#playground"));
mainInstance.startGame();
});
</script>
</body>
</html>
|