Alice Community  

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

Reply
 
Thread Tools Display Modes
Spanish_Animal_Game
Old
joncjaffe
Junior Member
 
Status: Offline
Posts: 12
Join Date: Jan 2012
Default Spanish_Animal_Game - 04-10-2012, 02:08 AM

how to make
Spanish_Animal_Game.a2w world
   
Reply With Quote
Old
room14
Senior Member
 
room14's Avatar
 
Status: Offline
Posts: 549
Join Date: Nov 2009
Location: Auckland New Zealand
Default 04-10-2012, 05:02 AM

???


:D
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 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.


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote
Old
joncjaffe
Junior Member
 
Status: Offline
Posts: 12
Join Date: Jan 2012
Default 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!
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 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?


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote
Old
joncjaffe
Junior Member
 
Status: Offline
Posts: 12
Join Date: Jan 2012
Default 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.
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 04-11-2012, 08:40 AM

Quote:
Originally Posted by joncjaffe View Post
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.
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.


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote
Old
joncjaffe
Junior Member
 
Status: Offline
Posts: 12
Join Date: Jan 2012
Default 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
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 04-11-2012, 08:52 PM

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


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote
Old
joncjaffe
Junior Member
 
Status: Offline
Posts: 12
Join Date: Jan 2012
Default 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?
   
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.