Mindmap
Celeb Dogs
Inhalt der Mindmap
Celeb Dogs
Play Game
- Show first user card
- needs all of the statistics
- Get user to select a category
- if userInput = 1
- Exercise
- if userInput = 4
- Drool
- If userInput = 2
- Intelligence
- if userInput = 3
- Frendliness
- else THEN re-enter
- if userInput = 1
- Check category against first computer card
- Choose 1-4 to pick a category
- Must correctly compare the 2 value for each player
- Winner receives the losers card
- Goes onto next round
- Winner receives the losers card
- Must correctly compare the 2 value for each player
- Choose 1-4 to pick a category
- Select number of cards
- Relies on user input to opperate
- Number_of_cards = int(input("Total Number of cards?"))
- """"If int(txtinput1.text) Mod 2> 0 THEN""""
- #Checks if number is even
- """"If int(txtinput1.text) Mod 2> 0 THEN""""
- Number_of_cards = int(input("Total Number of cards?"))
- Relies on user input to opperate
- if player has all the cards, he wins
- if computer has all cards, it wins
- Private Structure DogCard <= create structure
- Dim DogList As New List(Of DogCard)
- Show first user card
Card distribution
- 1) import random
- 2) Choosen_Dog = random.randint(0,30)
- Needs to be given HALF total list to play
- Dog_List NEEDS to be an EVEN number
- Between 4-30
- List size (amount of cards) picked by user
- Dogs in the list must change every round
- List must be random
- 1) import random
Open 'dog.txt' and put names in a record
- 1) f = open("dog.txt", 'r')
- 2) readdata = f.readline()
- 3) f.close()
- 2) readdata = f.readline()
- Read items into a list
- for x in range(len(Dog_List)):
- print (x, Dog_List[x])
- for x in range(len(Dog_List)):
- 1) f = open("dog.txt", 'r')
Create records to assign values to the names
Does user want to or retry (else quit)
- yes
- Quit
- Needs a suitable message output
- Quit
- no
- re-call main func.
- yes
Informationen
- Beschreibung
- Mindmap am Celeb Dogs, erstellt von finley vigor am 10/09/2018.
- Erstellt von
- finley vigor
- Aufrufe
- 0
- Bewertung