A dictionary would be good in scratch, because it would help make, scrabble, crosswords and wordsearches.
My idea would be to treat the dictionary as a list, and to check if a word is in there, you would use the <list> contains [ ] block.
Offline
Or even better take it off Google or Dictionary.com!
Offline
But that would ruin the fun, wouldn't it!
Yes, as LS97 said, many mods of Scratch and other "block programming" things have the ability to take information off of a website.
Like Designblocks, there's a block to take an image off of flickr.
Offline
Installing dictonaries in Scratch feels like cheating... and plus, as dictionaries have to be continuously updated...
Last edited by Jonathanpb (2011-04-16 20:00:28)
Offline
It would slow down the website... a lot...
Offline
I agree with Jonathanpb, if theres going to be a dictionary for Scratch, it would have to be updated almost constantly. I imagine this would be difficult to add and maintain.
Offline
LS97 wrote:
Or even better take it off Google or Dictionary.com!
Yes!!! That way, it would just pull from their site and we wouldn't have to update. Or maybe there would be a check for updates in help which checks for updates for Scratch, the dic, and more!
Offline
scimonster wrote:
LS97 wrote:
Or even better take it off Google or Dictionary.com!
Yes!!!
That way, it would just pull from their site and we wouldn't have to update. Or maybe there would be a check for updates in help which checks for updates for Scratch, the dic, and more!
That would solve the constant updating problem.
Offline
(exept it is a scrabble dictionary )
Code would look something like this
when green flag clicked,
Ask { null }
If word bank contains (answer) then
set (yes/no) to {yes}
else
set (yes/no) to { no }
end if
Offline