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
|