Parcourir la source

Add extension .js to Air Hockey

michtang il y a 3 ans
Parent
commit
dc4cfa0d63
2 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      01-white/04-03-air-hockey
  2. 0 0
      02-yellow/03-01-hiding-ninjas.js

+ 1 - 1
01-white/04-03-air-hockey

@@ -33,7 +33,7 @@ if ( rightPaddle.y() < getMouseY() ) {
 **/
 
 
-if (ball.isTouchingRightWall() ) {
+if ( ball.isTouchingRightWall() ) {
     leftPaddle.score += 1;
     leftScoreLabel.text(leftPaddle.score);
     ball.x(400);

02-yellow/03-01 → 02-yellow/03-01-hiding-ninjas.js