Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   Spanish_Animal_Game (http://www.alice.org/community/showthread.php?t=8337)

joncjaffe 04-10-2012 02:08 AM

Spanish_Animal_Game
 
how to make
Spanish_Animal_Game.a2w world

room14 04-10-2012 05:02 AM

???

TauTrumpsPi 04-10-2012 09:06 AM

Yeah, I had that same assignment when I was taking the class. I don't have the textbook anymore though, and I'm assuming no one else does, so if you need help with a specific part of the assignment please post the assignment and the part you are having trouble with, and we'll be glad to help.:)

joncjaffe 04-10-2012 11:08 AM

Spanish Animal Game: The purpose of this program is a simple educational game to teach the Spanish language. Create an interactive game including a minimum of 3 animals and their names in Spanish. (These are initially hidden from the user.) When play begins a random animal and a random Spanish name will appear. Prompt the user to answer “Is this the correct name for this animal?” The game will continue until the user closes the window. Note: A general overview of the rules must be displayed to user.

PROJECT REQUIREMENTS

Part 1: Design
(10 pts) Plan your project by designing pseudocode or a flowchart describing your solution. For your flowchart you may use MS Word drawing tools or MS Visio. (Hand drawn designs must be scanned to a .pdf document.) ** 2 Point BONUS ** Submit BOTH pseudocode and a flowchart!

TauTrumpsPi 04-10-2012 06:07 PM

Again, we won't do the whole thing for you. Which part are you stuck on? Do you need some tips to get you started?

joncjaffe 04-10-2012 07:55 PM

Your not going to do my work for me. What kind of turtors are you? All right I'll do it, but if I don't get an A your going to hang your head in shame. The instructor ask for a pseudocode, seen them in the book but never did one. So here's my first attempt at it. (1)Caballo horse (2) Pájaro bird (3) pollo chicken (4) perro dog (5)gato cat

(6) burro donkey (7)conejo rabbit (8) cerdo pig (9) zorro fox (10) lobo wolf

BEGIN
If/else
Computer to pick animal name from list at random.
(1)Caballo (2) Pajaro, (3) pollo,(4) perro,(5) burro,
(6) gato,(7) conejo,(8)cerdo,(9) zorro, ,(10)lobo
Ask user guess name (animal 1) horse
If/else (not [ true] guess again)
True exit loop.
Ask user guess name ( animal 2)bird
If/else (not [ true ] guess again)
True exit loop.
Ask user guess name (animal 3)chicken
If/else (not [ true ] guess again)
True exit loop.
END

Needs work but think I'm on track.

TauTrumpsPi 04-11-2012 08:40 AM

[QUOTE=joncjaffe;48000]Your not going to do my work for me. What kind of turtors are you? All right I'll do it, but if I don't get an A your going to hang your head in shame. The instructor ask for a pseudocode, seen them in the book but never did one. So here's my first attempt at it. (1)Caballo horse (2) Pájaro bird (3) pollo chicken (4) perro dog (5)gato cat

(6) burro donkey (7)conejo rabbit (8) cerdo pig (9) zorro fox (10) lobo wolf

BEGIN
If/else
Computer to pick animal name from list at random.
(1)Caballo (2) Pajaro, (3) pollo,(4) perro,(5) burro,
(6) gato,(7) conejo,(8)cerdo,(9) zorro, ,(10)lobo
Ask user guess name (animal 1) horse
If/else (not [ true] guess again)
True exit loop.
Ask user guess name ( animal 2)bird
If/else (not [ true ] guess again)
True exit loop.
Ask user guess name (animal 3)chicken
If/else (not [ true ] guess again)
True exit loop.
END

Needs work but think I'm on track.[/QUOTE]

Looks good so far. Remember that the project guidelines required that you explain the rules to the user.

(Also, just as a hint, when you're posting code here, using (code)(/code) except with [], straight brackets, will allow you to keep the whitespaces and make the code look more indented.

joncjaffe 04-11-2012 03:13 PM

(1)Caballo horse (2) Pájaro bird (3) pollo chicken (4) perro dog (5)gato cat

(6) burro donkey (7)conejo rabbit (8) cerdo pig (9) zorro fox (10) lobo wolf

BEGIN
When play begins a random animal and a random Spanish name will appear. Prompt the user to answer “Is this the correct name for this animal?” The game will continue until the user closes the window. Note: A general overview of the rules must be displayed to user
If/else
Computer to pick animal name from list at random.
(1)Caballo (2) Pajaro, (3) pollo,(4) perro,(5) burro,
(6) gato,(7) conejo,(8)cerdo,(9) zorro, ,(10)lobo
Ask user guess name (animal 1) horse
If/else (not [ true] guess again)
True exit loop.
Ask user guess name ( animal 2)bird
If/else (not [ true ] guess again)
True exit loop.
Ask user guess name (animal 3)chicken
If/else (not [ true ] guess again)
True exit loop.
END

TauTrumpsPi 04-11-2012 08:52 PM

Looks good, go ahead and start the coding or the extra credit now!

joncjaffe 04-11-2012 09:32 PM

)Caballo horse (2) Pájaro bird (3) pollo chicken (4) perro dog (5)gato cat

(6) burro donkey (7)conejo rabbit (8) cerdo pig (9) zorro fox (10) lobo wolf

BEGIN
A general overview of the rules must be displayed to user
If/else When play begins computer pick
a random animal 1, 2, or 3,will appear from list
a random Spanish name will appear from list 1-10
Prompt the user to answer “Is this the correct name for this animal?”
If/else
Computer to pick animal name from list at random.
(1)Caballo (2) Pajaro, (3) pollo,(4) perro,(5) burro,
(6) gato,(7) conejo,(8)cerdo,(9) zorro, ,(10)lobo
Ask user guess name (animal 1) horse
If/else (not [ true] guess again)
True exit loop.
Ask user guess name ( animal 2)bird
If/else (not [ true ] guess again)
True exit loop.
Ask user guess name (animal 3)chicken
If/else (not [ true ] guess again)
True exit loop.
The game will continue until the user closes the window
END


is this it?

TauTrumpsPi 04-12-2012 06:39 AM

That looks fine. If you want to start coding and creating the world in the Alice program, you probably are ready now.

GameKid 04-13-2012 08:06 PM

Sorry if this is irrelevant, but this post just ticked me off.
[QUOTE=joncjaffe;48000]Your not going to do my work for me. What kind of turtors are you? All right I'll do it, but if I don't get an A your going to hang your head in shame.[/QUOTE]
"Turtors" are not supposed to do your homework for you. Tutors are supposed to [I]help[/I]. Besides, we're not even all tutors.

TauTrumpsPi 04-14-2012 11:38 AM

[QUOTE=GameKid;48070]Sorry if this is irrelevant, but this post just ticked me off.

"Turtors" are not supposed to do your homework for you. Tutors are supposed to [I]help[/I]. Besides, we're not even all tutors.[/QUOTE]

True. If I did it for you, you wouldn't learn. Tutors help you learn.

And me, a tutor? Psssshhh. I'm a teenager that took a 6 month class in this, then continued it for fun. I just think it's good to help people out.

joncjaffe 04-16-2012 09:19 PM

Me ticketed you off? I'm 57 years old I'm alloud to be crankie, if you live to be my age you earned the right to be this way. You probley don't belive me whene I tell you that when I first whent to school we had inkwells to deal with.When you have grandkids you probley will tell the story of when you were their age we had keyboards where you had to use your hands, they wont belive you.

TauTrumpsPi 04-17-2012 02:42 PM

[QUOTE=joncjaffe;48131]Me ticketed you off? I'm 57 years old I'm alloud to be crankie, if you live to be my age you earned the right to be this way. You probley don't belive me whene I tell you that when I first whent to school we had inkwells to deal with.When you have grandkids you probley will tell the story of when you were their age we had keyboards where you had to use your hands, they wont belive you.[/QUOTE]

Just because you have the right to be cranky doesn't mean you should use it. I believe you perfectly. But I don't understand why a 57 year old would want someone to do an assignment, or whatever this is for, for him.

joncjaffe 04-17-2012 03:49 PM

Do you really think I’m cranky because a lot of my class mates are watching this unfold? I gave this web site around when I found it. I’m just trying to figure this thing out.

r6922a 04-17-2012 09:13 PM

need help with this too, can't figure out exactly the random number accesses the lists of names with animals. and how would I set up the code so the program knows the right and wrong answers

joncjaffe 04-17-2012 09:25 PM

)Caballo horse (2) Pájaro bird (3) pollo chicken start with this and the if/els comand and follow the rubric instruction figer it out as you go is all part of the game

GameKid 04-18-2012 09:55 AM

[QUOTE=joncjaffe;48131]Me ticketed you off? I'm 57 years old I'm alloud to be crankie, if you live to be my age you earned the right to be this way.
[B]Nobody has the right to demand their work handed to them on a silver platter. [/B]
You probley don't belive me whene I tell you that when I first whent to school we had inkwells to deal with.
[B]I do. Why not?[/B]
When you have grandkids you probley will tell the story of when you were their age we had keyboards where you had to use your hands, they wont belive you.
[B]Why would I tell stories of such a thing when voice command is already here?[/B][/QUOTE]
Rant defused.

joncjaffe 05-02-2012 01:37 PM

Spanish_Animal_Game
 
1 Attachment(s)
;) Behold Spanish_Animal_Game with no help. What do you think?


All times are GMT -5. The time now is 12:08 AM.

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