Added works only in chrome disclamer

master
Abhinav Sarkar 2013-10-16 22:46:40 +05:30
parent 786280d310
commit 3b39d0a5e0
1 changed files with 8 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Gravity Pong: Functional Reactive Programming in Clojure using core.async</title> <title>Gravity Pong: Flow Based Programming in Clojure using core.async</title>
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]--> <![endif]-->
@ -13,6 +13,8 @@ body {
#title { #title {
margin: 0px; margin: 0px;
width: 98%;
position: absolute;
} }
#ball { #ball {
@ -35,7 +37,7 @@ body {
#canvas { #canvas {
border: 2px green solid; border: 2px green solid;
margin-top: 3px; margin-top: 10px;
} }
#score { #score {
@ -61,6 +63,9 @@ body {
<center> <center>
<div id="screen"> <div id="screen">
<h2 id="title">Gravity Pong!</h2> <h2 id="title">Gravity Pong!</h2>
<div style="float: right">
<a target="_blank" href="http://github.com/abhin4v/frpong">github</a>
</div>
<div id="msg">press &lt;space&gt; to start</div> <div id="msg">press &lt;space&gt; to start</div>
<svg id="canvas"> <svg id="canvas">
<circle id="mass" /> <circle id="mass" />
@ -74,9 +79,7 @@ body {
fps <span id="fps">0</span> fps <span id="fps">0</span>
</div> </div>
use W-S and Up-Down keys to move the paddles / use Left-Right keys to change gravity use W-S and Up-Down keys to move the paddles / use Left-Right keys to change gravity
<div style="float: right"> <div style="float: right; font-size: smaller">Works only on Google Chrome</div>
<a target="_blank" href="http://github.com/abhin4v/frpong">github</a>
</div>
</div> </div>
</div> </div>
</center> </center>