Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » random letters
- lederniersamourai
-
Scratcher
500+ posts
random letters
If you want to select a letter that you want to use in a variable you can do this:
(letter (pick random (1) to (26)) of [abcdefghijklmnopqrstuvwxyz])With “Join” you can jon this to other lwords and letters.
- Jemmerl
-
Scratcher
100+ posts
random letters
I made a project that used random variables… I made it soooo much more complicated XD http://scratch.mit.edu/projects/28485246/
I made a list and had it randomly select a letter from that list XD
I made a list and had it randomly select a letter from that list XD
- mastermind1201
-
Scratcher
100+ posts
random letters
how do I make random letters?
when green flag clicked
say [(join [you picked] (pick random (1) to (26)))] for (2) secs
- amnamu
-
New Scratcher
1 post
random letters
Can anyone help me this
create a design for a game that allows a user to make a
word from 9 random letters. The program will select 9 random letters and will display them to the
user. The user must try to make a word from the random letters, using each letter only once. The aim
is to use as many of the letters as possible.
create a design for a game that allows a user to make a
word from 9 random letters. The program will select 9 random letters and will display them to the
user. The user must try to make a word from the random letters, using each letter only once. The aim
is to use as many of the letters as possible.
- deck26
-
Scratcher
1000+ posts
random letters
Can anyone help me thisPlease create your own new topic rather than necroposting. Sharing what you have is always good.
create a design for a game that allows a user to make a
word from 9 random letters. The program will select 9 random letters and will display them to the
user. The user must try to make a word from the random letters, using each letter only once. The aim
is to use as many of the letters as possible.
- GaletaApril20
-
New Scratcher
1 post
random letters
HI I NEED TO KNOW HOW TO CODE A RANDOM LETTER GEN!
- BusterBrown1218
-
Scratcher
100+ posts
random letters
HI I NEED TO KNOW HOW TO CODE A RANDOM LETTER GEN!
repeat (10)The list contains all of the letters
set [letters v] to (item ((pick random (1) to (26)) v) of [list v] :: list)
end
- Soccer135246
-
Scratcher
2 posts
random letters
what is the “v” block?HI I NEED TO KNOW HOW TO CODE A RANDOM LETTER GEN!repeat (10)The list contains all of the letters
set [letters v] to (item ((pick random (1) to (26)) v) of [list v] :: list)
end
- Dezach
-
Scratcher
100+ posts
random letters
It isn't a real block, just an error while writing his post.what is the “v” block?HI I NEED TO KNOW HOW TO CODE A RANDOM LETTER GEN!repeat (10)The list contains all of the letters
set [letters v] to (item ((pick random (1) to (26)) v) of [list v] :: list)
end
Can't you just use?
(letter (pick random (1) to (26)) of [abcdefghijklmnopqrstuvwxyz])As @lederniersamourai mentioned it.
Last edited by Dezach (Jan. 18, 2021 19:28:44)
- stephenjin
-
Scratcher
1 post
random letters
It isn't a real block, just an error while writing his post.what is the “v” block?HI I NEED TO KNOW HOW TO CODE A RANDOM LETTER GEN!repeat (10)The list contains all of the letters
set [letters v] to (item ((pick random (1) to (26)) v) of [list v] :: list)
end
Can't you just use?(letter (pick random (1) to (26)) of [abcdefghijklmnopqrstuvwxyz])As @lederniersamourai mentioned it.
Yeah thanks so smart
- Discussion Forums
- » Help with Scripts
-
» random letters