Click the green flag, and let the RNG control the game. Turbo Mode helps. [Shift + Click Flag]
What's RNG? RNG stands for "Random Number Generator", which in Scratch is the "pick random from x to y" block. Using this block, the computer picks a number ranging from 1-4 and this decides which command the computer carries out. All credit goes to JeremiahMacDonald for the code and graphics, all I did was add in the RNG, as well as a "High Score" variable to see who's RNG was the best.