This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Suggestions
  •  » <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

#1 2012-02-04 16:28:09

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

<[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

These blocks would allow many versatile applications, such as Hangman or Scrabble games.  Random sentence generators would be able to use real words, and with a little work, they could use proper grammar.  Mad Libs-style games could ensure that input was both appropiate and grammatically correct (since <[  ] is a word?> would return false for inappropiate words).  The possibilities are endless...these blocks would be very helpful, and unlike many block suggestions, it's virtually impossible to create workarounds for them.  Therefore, we really should have these blocks.

Supporters:  (39)

Greenatic
mitchboy
ImagineIt
cartooncreator
RedRocker227
technoboy10
trinary
Chrischb
MrMonk999
Scimonster
logiblocs
SJRCS_011
scratchisthebest
coolhogs
360-International
zakattack7
schusteralex2
gkc
funelephant
lalala3
Mokat
turkey3
mythbusteranimator
TorbyFork234
littlebird2472
James07
LiquidMetal
PullJosh
shiguy101
gomore10
jontmy00
KyleK7
Jrocket97
shpeters
SciTecCf
thebriculator
KrIsMa
cool_dude_2
curiouscrab

Last edited by Greenatic (2013-01-27 08:13:41)

Offline

 

#2 2012-02-04 16:43:57

mitchboy
Scratcher
Registered: 2011-11-29
Posts: 59

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

Good idea, that would make a lot of games a lot easier to make. That could be hard to implement, though. I support.


Quote of the week: "I am NOT being DRAMATIC!" ~Looney Tunes
Check out my newest game here!

Offline

 

#3 2012-02-04 16:58:14

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

mitchboy wrote:

Good idea, that would make a lot of games a lot easier to make. That could be hard to implement, though. I support.

Thanks!   smile   I don't think it will be too hard to implement, I'm sure there are plenty of dictionary APIs out there.

Offline

 

#4 2012-02-04 17:09:51

ImagineIt
Scratcher
Registered: 2011-02-28
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

I support, but how can we get all of the words?

Offline

 

#5 2012-02-04 17:11:18

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

ImagineIt wrote:

I support, but how can we get all of the words?

Thanks!   smile

Greenatic wrote:

I don't think it will be too hard to implement, I'm sure there are plenty of dictionary APIs out there.

Offline

 

#6 2012-02-04 17:11:32

cartooncreator
Scratcher
Registered: 2011-04-04
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

I support!  big_smile


http://i37.tinypic.com/2qixx6c.png

Offline

 

#7 2012-02-04 17:12:24

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

cartooncreator wrote:

I support!  big_smile

Thanks!   smile

Offline

 

#8 2012-02-04 17:23:21

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

Definite support!


Why

Offline

 

#9 2012-02-04 17:24:13

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

RedRocker227 wrote:

Definite support!

Thanks!   smile

Offline

 

#10 2012-02-04 17:35:20

mitchboy
Scratcher
Registered: 2011-11-29
Posts: 59

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

You forgot to include yourself as a supporter.  hmm


Quote of the week: "I am NOT being DRAMATIC!" ~Looney Tunes
Check out my newest game here!

Offline

 

#11 2012-02-04 20:28:12

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

mitchboy wrote:

You forgot to include yourself as a supporter.  hmm

You think I should?  Alright then...

Offline

 

#12 2012-02-04 20:40:35

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

I agree;; I bet a dictionary for Flash would be easy to find.


Posts: 20000 - Show all posts

Offline

 

#13 2012-02-04 21:04:26

ProgramCAT
Scratcher
Registered: 2011-12-13
Posts: 500+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

Are you sure though? The blocks could make your project extremely slow because of the search time it might need (the English language has tens of thousands of words).
You could also just use a list instead. Search for a list of words, save as a text file, and import.
Sentence generators also already exist/can be created easily. Just have lists labelled 'nouns', 'adjectives', 'prepositions', 'verbs' etc and use the randomization blocks.

Last edited by ProgramCAT (2012-02-04 21:06:24)


Programming is an art...
Goodbye, Scratch. I am leaving because of the exams coming up at our school, though I'll check the forums once or twice a week.

Offline

 

#14 2012-02-04 21:33:09

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

ProgramCAT wrote:

Are you sure though? The blocks could make your project extremely slow because of the search time it might need (the English language has tens of thousands of words).
You could also just use a list instead. Search for a list of words, save as a text file, and import.
Sentence generators also already exist/can be created easily. Just have lists labelled 'nouns', 'adjectives', 'prepositions', 'verbs' etc and use the randomization blocks.

Scratch slows things down, so that would take even longer.

Thanks to veggieman001!   smile

Last edited by Greenatic (2012-02-04 21:35:16)

Offline

 

#15 2012-02-04 22:16:41

technoboy10
Scratcher
Registered: 2007-08-25
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

That would be super handy. I support.


So long, 1.4.
http://goo.gl/3JEV9

Offline

 

#16 2012-02-04 22:28:10

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

technoboy10 wrote:

That would be super handy. I support.

Thanks!   smile

Offline

 

#17 2012-02-04 22:32:01

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

I agree, this would be very useful for some games and generators, so I support!


http://trinary.tk/images/signature_.php

Offline

 

#18 2012-02-04 22:47:50

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

trinary wrote:

I agree, this would be very useful for some games and generators, so I support!

Thanks!   smile

Offline

 

#19 2012-02-04 22:55:19

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

Support  big_smile


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#20 2012-02-04 23:29:39

MrMonk999
Scratcher
Registered: 2011-12-17
Posts: 500+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

Support! this wold be awesome if it got incorporated into 2.0


http://i.imgur.com/CAMJe.png

Offline

 

#21 2012-02-05 04:40:06

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

ProgramCAT wrote:

Are you sure though? The blocks could make your project extremely slow because of the search time it might need (the English language has tens of thousands of words).
You could also just use a list instead. Search for a list of words, save as a text file, and import.
Sentence generators also already exist/can be created easily. Just have lists labelled 'nouns', 'adjectives', 'prepositions', 'verbs' etc and use the randomization blocks.

It would be a right pain having to manually import all the words though ._.


Why

Offline

 

#22 2012-02-05 08:03:38

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

Sounds really cool. I'd like it if the ST decided to take the extra week to do these.

Offline

 

#23 2012-02-05 09:14:05

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

Have you tried using the

<[list v] contains [some_word]>
block?  It can do pretty much what you are asking...just load up a list of words.

That block is a sharp-ended true/false block by the way...it just shows as a rounded block in the ScratchBlocks.

And it's pretty easy to load up a list too...using the Import command.  I made a list that had all the lines of Hamlet in it.


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#24 2012-02-05 10:00:48

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

Paddle2See wrote:

Have you tried using the

<[list v] contains [some_word]>
block?  It can do pretty much what you are asking...just load up a list of words.

That block is a sharp-ended true/false block by the way...it just shows as a rounded block in the ScratchBlocks.

And it's pretty easy to load up a list too...using the Import command.  I made a list that had all the lines of Hamlet in it.

LOL I think Greeanatic knows what shape that is.  tongue

Offline

 

#25 2012-02-05 12:51:53

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

Paddle2See wrote:

Have you tried using the

<[list v] contains [some_word]>
block?  It can do pretty much what you are asking...just load up a list of words.

That block is a sharp-ended true/false block by the way...it just shows as a rounded block in the ScratchBlocks.

And it's pretty easy to load up a list too...using the Import command.  I made a list that had all the lines of Hamlet in it.

Yes, but remember how many words are in the English language--that would take up a lot, if not all, of our precious 10 MB.  If we put a built-in dictionary in the player, or if Flash already has one, it would save a lot of project space.

Thanks to Chrischb, MrMonk999, and Scimonster!   smile   smile   smile

Last edited by Greenatic (2012-02-05 12:53:59)

Offline

 
  • Index
  •  » Suggestions
  •  » <[ ] is a word?>, (random word), and <[ ] is a [verb v]?>

Board footer