Skip to content

Commit

Permalink
Merge pull request alokmenghrajani#2 from skrounge/patch-1
Browse files Browse the repository at this point in the history
Remove short circuit logic.
  • Loading branch information
Alok Menghrajani committed Mar 26, 2012
2 parents 0763685 + d33bd59 commit 66cd270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tron/tron.html
@@ -1 +1 @@
<body id=b onkeyup=e=event onload=z=c.getContext('2d');z.fillRect(s=0,0,n=150,x=11325);setInterval("0<x%n&&x<n*n&&(z[x+=[1,-n,-1,n][e.which&3]]^=1)?z.clearRect(x%n,x/n,1,1,s++):b.innerHTML='game over:'+s",9)><canvas id=c>
<body id=b onkeyup=e=event onload=z=c.getContext('2d');z.fillRect(s=0,0,n=150,x=11325);setInterval("0<x%n&x<n*n&(z[x+=[1,-n,-1,n][e.which&3]]^=1)?z.clearRect(x%n,x/n,1,1,s++):b.innerHTML='gameover:'+s",9)><canvas id=c>

0 comments on commit 66cd270

Please sign in to comment.