Type in 0 if you want to play the game normally, and 1 if you want it to play automatically No, there is no AI right here, even if it's called "Snake AI". Also, in AI mode, you can hold down any key to make it play faster (also there's turbo mode)
I first coded the entire thing in processing (java-based) and then manually translated it into Scratch