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 03:08 AM

Spanish_Animal_Game
 
how to make
Spanish_Animal_Game.a2w world

room14 04-10-2012 06:02 AM

???

TauTrumpsPi 04-10-2012 10: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 12:08 PM

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 07: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 08: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 09: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 04: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 09:52 PM

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

joncjaffe 04-11-2012 10: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?


All times are GMT -5. The time now is 01:19 AM.

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