Snake game logic !!

I am trying to make a snake game, i read some of the threads related to it but couldntnunderstand some stuff thought my doubts are really basic please help me solve them!!. Basically I don't need the code, just correct my understanding and the logic. Just tell me what to do. How does the fruit appear? How to increase the length ( the simplest code for that would be?) and like how does a snake know that it has eaten the fruit, like how do we get to know the coordinates of the fruit using randomise so that we can make it same with that of the snakes and then know if it has eaten it or not? I know my doubts are really basic, but please help!!
P.S give me the answers in the simplest language please. Not at all expert in this language :( !!! Thankyou so much :)
Last edited on
Topic archived. No new replies allowed.