Hello
I am a 6th grade teacher trying to help my students get a feel for interactivity with computers.
I currently do an assignment in the LOGO programming language in which each student creates an interactive dialog for the user of their program. The first part is oppinion based and later includes conditional programming with ifelse and local variables. The goal is to create the illusuion that the computer is actually responding to the user’s answers.
Here is a sample of the opinion portion created by a student. (In LOGO)
[QUOTE]
TO Q&A
CT
QUESTION [My name is Edna. What’s your name?]
INSERT [Hi]
INSERT CHAR 32
INSERT ANSWER
PRINT [.]
MAKE “NAME ANSWER
WAIT 10
QUESTION [What is your favorite flavor of ice cream?]
INSERT [You like]
INSERT CHAR 32
INSERT ANSWER
PRINT [?]
WAIT 10
PRINT [I think bubble gum with walnuts is much better.]
WAIT 30
QUESTION [What toppings do you like on your ice cream?]
INSERT [I like]
INSERT CHAR 32
INSERT ANSWER
INSERT CHAR 32
INSERT [too. It’s much better with]
INSERT CHAR 32
INSERT ANSWER
INSERT CHAR 32
PRINT [on top.]
WAIT 20
INSERT [Goodbye]
INSERT CHAR 32
INSERT :NAME
INSERT [. I’ll speak to you later.]
END
I would like to do this assignment in Javascript.
Would this be hard to do? Is it better suited for Flash?
Any help would be great.