Welcome to my CPS (clicks per second) experiment! Made all by me - have fun! ---CONTROLS--- Click as fast as you can on the tiny little cat, the quicker you click the higher the cps. If you beat the record, it gets recorded in the cloud and set as the new one! -Please make sure to report any bugs you find and any features you think should be added. -COJAJEG29 & Crjsjj01.
---HOW IT WORKS--- The 'Cps 1' variable records your current clicks (stored inside the 'Clicks' variable. Then, a second later, your clicks are recorded as 'Cps 2'. 'Cps 1' gets subtracted from 'Cps 2' leaving the difference between the clicks. This is your CPS. Then, this is recorded in the 'Cps Average' list. This happens every second; after 15 seconds, the experiment stops. Then, the average of every item of the 'Cps Average' list is added and the total is divided by the list length (15) - look how big the operator is in the code! This is then displayed in a large readout, and the cat sprite changes to a label that says where the variable is - so you don't get confused when some numbers appear on your screen. Lastly, there is a bug check. Since you can still click the sprite and it will change costume, the 'Stop control' variable is set to one, causing the if loop around the 'when this sprite clicked' event goes to the 'else' part of the loop. This part is blank so the experiment does nothing. (You really just read all that?! *hands you well-done sticker*) -Please make sure to report any bugs you find and any features you think should be added. - @COJAJEG29 & @Crjsjj01 <3