Quote:
Christmas gift appears ie. new nikes, an ipad, a tv, basketball, football, soccerball, movies,etc
First you need an algorithm to implement the idea:
1. Create (photo shoot or draw them using any graphic tools) and save the gift images on the computer.
2. In the code, initialize an array that stores the file paths to those images.
3. On clicking a lucky draw button, go to 4.
4. Generate a random number in the range of the index numbers of those file paths in that array.
5. Display the image found at the file path indexed at the generated random number as the gift.
6. Go to 3.
Next, you only need to pick a programming language to write the code, Google is your best assistant.