This is the Snake Game! The goal is for the Snake to become really long. As long as you can get it! And you do this by eating the apples. To move, you press the arrow buttons on your keyboard. But, make sure you don't touch the edge or you'll lose! And when you restart, make sure to make the length 0 again, so you can work your way up!
I searched up a video on how to make the base of the program, then added a couple things, and tried expirimenting. I added the if you touch the edge you lose feature, the restart feature, ect.