Make Scratch code for planet name generator.
- User
Make Scratch code for planet name generator.
- Assistant
Sure! Here's a simple example of a planet name generator in Scratch:
code - User
Make Scratch code for planet name generator, fantasy names are generated by ChatGPT, including lists are prefixes and suffixes.
- Assistant
To generate fantasy planet names using ChatGPT and combining them with prefixes and suffixes, you will need to use the Scratch Text to Speech extension and the Extensions ScratchX website. Here's an example of how you can implement it:
-
Set up Text to Speech extension:
- Go to the Extensions ScratchX website (scratchx.org).
- Click "More Blocks" and then "Text to Speech".
- Follow the instructions to add the Text to Speech extension to your Scratch project.
-
Create a list of prefixes and suffixes:
- Create a list variable named "prefixes" and fill it with various fantasy prefixes.
- Create a list variable named "suffixes" and fill it with various fantasy suffixes.
-
Implement the code:
code -