Simplicity 0 Newbie Poster

Can any1 help me in this:
To the "Snake game" i'm working on, I need to to add a bonus food item that appears at random times in random positions and dissapear after a fixed time.
I really don't know what to do and not even where to place the codes :!:
I attached all the files needed for this project

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.