diff options
Diffstat (limited to 'examples/scala-js/examples/reversi/reversi-2.11-fastopt.html')
-rw-r--r-- | examples/scala-js/examples/reversi/reversi-2.11-fastopt.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/examples/scala-js/examples/reversi/reversi-2.11-fastopt.html b/examples/scala-js/examples/reversi/reversi-2.11-fastopt.html new file mode 100644 index 0000000..524e716 --- /dev/null +++ b/examples/scala-js/examples/reversi/reversi-2.11-fastopt.html @@ -0,0 +1,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.11/reversi-fastopt.js"></script> + +<script type="text/javascript"> +$(function() { + var mainInstance = new Reversi( + jQuery, jQuery("#playground")); + mainInstance.startGame(); +}); +</script> + +</body> +</html> |