GoConqr has a new look! Let us know what you think.

Mind map

Celeb Dogs

benjamin pavitt English

Map content

Celeb Dogs

  1. Play Game

    • Show first user card
    • get user to select a category
    • select number of cards
      • Once the user has selected the number of cards they are going to use
        • Split the cards into 2 piles (The players and the computer)
          • The first card in the players pile is displayed and the user chooses one of the 4 catagories
            • the users category is then compared to the computers
              • if the category chosen is exercise, intelligence or friendliness then the higher value wins the round
              • if Drool is chosen then the lower value wins
              • If the values are the same the player wins the round
              • Whoever wins the round gets both cards and puts them at the bottom
                • This is known when a display message appears explaining who won and what the result was
    • Check category against first computer card
    • User cannot choose a number that is :
      • less than 4
      • More than 30
      • Or an odd number
      • If any of these three options occur then:
        • Display an appropriate message to the user
          • Send the user back to the menu
    • If the player has all of the cards then they win
  2. Card distributor

    • r as random
      • import random
        • number = random.randint(0,29)
          • Random Number for each catagory
          • Random Number for each dog
  3. Quit

    • Provide a suitable message to the user
  4. Create an array to assign the dog names to values

    • Make values of Exercise, Intelligence, Friendliness and drool
  5. Array

  6. Menu

    • play Game
    • Quit
  7. Names of dogs

  8. Create and Open the saved file, dogs.txt

    • Create dog cards
  9. Generation

    • Randomly generate a value for:
      • Each catagory
      • Each Dog
        • Ranges
          • Values have to be within these ranges
            • Exercise 1 - 5
            • Intelligent 1 - 100
            • Friendly 1 -10
            • Drool 1 -10
  10. Winning

    • if the player or the computer has all the cards then they have won the game
      • A suitable message should be displayed saying who has won
      • The program should then return the main menu
        • Otherwise the next round starts and the winner chooses the category
          • if the computer wins then the computer chooses a random category
            • The game continues until the player or computer has won

Information

Description
Mind Map on Celeb Dogs, created by benjamin pavitt on 10/09/2018.
Created by
benjamin pavitt
Views
1
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?