19.03.2015, 06:27
The problem is in your code, not in ++.
It's because you used else if, in the order that you did.
My code was terrible, don't use it.
You need to do the check better as well.
It's because you used else if, in the order that you did.
My code was terrible, don't use it.
You need to do the check better as well.
Код:
if(distance<=10) { if(distance<=2&&MineCount=10) { Boom! } else { MineCount++; } }