Please enable JavaScript.
Coggle requires JavaScript to display documents.
Celebrity dogs game - Coggle Diagram
Celebrity dogs game
-
-
The number of cards entered in task 3 are then separated into two equal piles,
-
The first card in the player’s pile is displayed and the user is asked to enter a category. The
categories are exercise, intelligence, friendliness and drool.
-
-
-
Students may need to use the Internet to research certain parts of the problem. This must be
within the 20 hours.
-
A program needs to be created that allows the user to play Celebrity Dogs, a round-based category
comparison card game.
-
The program should then read in the names of the dogs from the text file dogs.txt, creating a
card for each dog.
The program should then read in the names of the dogs from the text file dogs.txt, creating a
card for each dog.
The value on the player’s card for the chosen category is compared to the value in the same
category on the computer’s card.
If the player wins the round then both cards are moved to the bottom of the player’s pile. If the
computer wins the round then both cards are moved to the bottom of the computer’s pile. An appropriate message saying what the result of the comparison was and who won that round
should be displayed.
If the player or the computer now has all the cards then they have won the game and a
suitable message should be displayed. The program should return to the main menu.