Browse files

Merge pull request #2 from skrounge/patch-1

Remove short circuit logic.
  • Loading branch information...
2 parents 0763685 + d33bd59 commit 66cd270ede354e6ba3ecae5cd11b46867b5186e8 Alok Menghrajani committed Mar 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tron/tron.html
View
2 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.