Skip to content

Commit b79496a

Browse files
committed
200
1 parent c932db8 commit b79496a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pong.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ H = 297,
66
X = Y =
77
setInterval(function() {
88
for (
9-
h = "",
9+
i = h = "",
1010
K = K < 0 ? 0 : K > 24 ? 24 : K,
1111
X *= x % W ? 1 : -1,
1212
x < W ?
@@ -16,8 +16,7 @@ setInterval(function() {
1616
-1 :
1717
p
1818
),
19-
x += Y * (W + X * Y),
20-
i = 0;
19+
x += Y * (W + X * Y);
2120
i++ < H + K;
2221
)
2322
h += i % W ?

0 commit comments

Comments
 (0)