Compare commits
	
		
			2 commits
		
	
	
		
			304d6cafd2
			...
			94da8b0870
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 94da8b0870 | |||
| 10962c4da0 | 
					 1 changed files with 2 additions and 12 deletions
				
			
		
							
								
								
									
										14
									
								
								sketch.js
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								sketch.js
									
									
									
									
									
								
							|  | @ -85,18 +85,8 @@ function draw() { | |||
| 
 | ||||
|         //ADDING SCORE WHEN BALL HITS TILES
 | ||||
| 
 | ||||
|         if (j === 5) { | ||||
|           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 | ||||
|         if (j >= 0 && j <= 6) { | ||||
|           score += 6 - j | ||||
|         } | ||||
| 
 | ||||
|       } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue