Counting Points
Ok, so basically I was writing the code for a HTML game to test my skills and here is the problem – for example I collected 1 cube and for some reason It counted me 6 points (sometimes 5). Also the speed should change every cube collected. BTW the game is on polish but I think you’ll understand.