0
Please help me with this game, the level is increasing. 🙏🙏🙏 I want it to increase by 1 each time the ball is empty. Thanks
3 Antworten
+ 2
Remove your current line 96 to 98:
if(array.length==1){
level++
}
+ 2
I don't know much about js but I think in the condition mentioned by Gordon with the increasing level value you should also reset the array to its original. So that this condition will not executes.
+ 1
I want to increase the level by 1 each time the ball is empty