Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 03-20-2010, 06:07 PM

Quote:
Originally Posted by bballmike156 View Post
1 more question lol, I want to have it so that it does that for other words, but when I have another word with a Letter that has been used before, and if that word is still up there, then it will give me the points without typeing the full word, if there a way I can have it so that if there is a word with the same letter in another word it won't give points to the other word without typing the whole word first?

That would be using variables, switching 1 to 0 alot


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
rankhornjp
Guest
 
Status:
Posts: n/a
Default 03-22-2010, 01:50 PM

try using an "if/else" for each letter

if (true)"size of word" > 0
do nothing

else:
increment "score" by 1

you may have to do one for each word to get it to work right.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.