Compare commits

..

No commits in common. "94da8b0870222b2a412acd5a0a94ace63905b4a1" and "304d6cafd24e3b19ea6ec16ecd33037f48a312ed" have entirely different histories.

1 changed files with 12 additions and 2 deletions

View File

@ -85,8 +85,18 @@ function draw() {
//ADDING SCORE WHEN BALL HITS TILES //ADDING SCORE WHEN BALL HITS TILES
if (j >= 0 && j <= 6) { if (j === 5) {
score += 6 - j score += 1
} else if (j === 4) {
score += 2
} else if (j === 3) {
score += 3
} else if (j === 2) {
score += 4
} else if (j === 1) {
score += 5
} else if (j === 0) {
score += 6
} }
} }