Buy:
|
What's your elf name? (Scratch tutorial)
How it works
The program works by picking a name at random from the two lists of possible 'Elf first names' and 'Elf last names'.
Try it:
Try it:
List of Elf names
Elf first names
Initial | Name | Initial | Name |
---|---|---|---|
1. | Angelic | 14. | Naughty |
2. | Blustery | 15. | Oily |
3. | Cheery | 16. | Pointy |
4. | Dancy | 17. | Quirky |
5. | Elfie | 18. | Rosie |
6. | Festive | 19. | Snowy |
7. | Glistening | 20. | Tinsel |
8. | Happy | 21. | Unity |
9.. | Icy | 22. | Very Merry |
10. | Jolly | 23. | Wintry |
11. | Kringle | 24. | Xmasy |
12. | Lucky | 25. | Yule |
13. | Merry | 26. | Zippy |
Elf last names
Initial | Name | Initial | Name |
---|---|---|---|
1. | Angel | 14. | Noel |
2. | Bells | 15. | Ornament |
3. | Candy Cane | 16. | Peppermint |
4. | Dash | 17. | Quince Pie |
5. | Evergreen | 18. | Ribbon |
6. | Feet | 19. | Snowball |
7. | Gingerbread | 20. | Toes |
8. | Holidays | 21. | Upatree |
9.. | Icicles | 22. | Vixen |
10. | Jingles | 23. | Wonderland |
11. | Kringles | 24. | Xmas |
12. | Lights | 25. | Yuletide |
13. | McSnowface | 26. | Zest |
Description
In this tutorial, you will learn how to code an “Elf Name” generator in Scratch. The program works by picking a name at random from the two lists of possible 'Elf first names' and 'Elf last names'.
Start by running the following code for a simple Chat bot. Challenge: Can you predict what will happen before running the code.
In this tutorial, you will learn how to code an “Elf Name” generator in Scratch. The program works by picking a name at random from the two lists of possible 'Elf first names' and 'Elf last names'.
Start by running the following code for a simple Chat bot. Challenge: Can you predict what will happen before running the code.
Note: On the last line, the code picks a random colour from the list so that the chat bot gives a different answer each time.
Click on the code sample below then modify it by changing some of the colours or adding more colours.
Sample code:
scratch.mit.edu/projects/611345418
Extra challenge:
Create a new list called names and have the chat bot pick a random name each time.
Click on the code sample below then modify it by changing some of the colours or adding more colours.
Sample code:
scratch.mit.edu/projects/611345418
Extra challenge:
Create a new list called names and have the chat bot pick a random name each time.
Elf name generator
The program works by picking a name at random from the two lists of possible 'Elf first names' and 'Elf last names'.
Click on the link to the partially working example below and modify/fix the code to make your own elf name generator.
Example:
The program works by picking a name at random from the two lists of possible 'Elf first names' and 'Elf last names'.
Click on the link to the partially working example below and modify/fix the code to make your own elf name generator.
Example:
Worked example (Containing complete list of names):
https://scratch.mit.edu/projects/611343598
https://scratch.mit.edu/projects/611343598
Example solution:
https://scratch.mit.edu/projects/611327770
https://scratch.mit.edu/projects/611327770
Taking it further
- Change the Elf sprite or create your own character.
- Animate your Elf by changing the Elf's costume.
- Add in a random pause so that it looks like the Elf is thinking before revealing the answer.
Bonus Challenge
Create your own name generator. For example, superhero or game name generator etc.
Create your own name generator. For example, superhero or game name generator etc.