Avoid the cubes that are chasing you by moving your mouse. After 30 seconds, an erratic (red) cube will appear every 10 seconds. Try to get a high score! This game will be updated occationally (so you may end up trying to play it after I messed up all the code), so if the game is temporarily not working, here is a different version: https://scratch.mit.edu/projects/519285026 Updates: Added a blue square, added differing difficulties. (Difficulties just change the number of red squares), fixed purple square still apparent after game end.
There is no high score in this version due to the different difficulties, but feel free to post your score in the comments! ALSO: There are now virtual sticky notes all over the code to make it easy for anyone who wants to play around with it! Remember to remix first so that it saves.