Permalink
Browse files

Back to basics

  • Loading branch information...
1 parent 0f38080 commit 3e957f3cadf242a70042b18f6dcd0a0ea954fbe0 @sarukuku sarukuku committed Dec 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/engine.js
View
@@ -101,7 +101,7 @@ function PongEngine(ballImg) {
PongEngine.prototype.isGameOver = function() {
var ballDistance = this.ball.getBallDistanceFromCenter();
// TODO: Fix this!
- return ballDistance > this.area.getRadius() - 17;
+ return ballDistance > this.area.getRadius() - 10; // raja-arvo 17
}
PongEngine.prototype.getMovingVectorAfterCollide = function() {

0 comments on commit 3e957f3

Please sign in to comment.