Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- #games are all the titles of games that the program can use; participants can give their own propositions
- games = ["Pokemon(1)", "Fortnite(2)", "Minecraft(3)", "CS(4)"]
- #list_of_games_to_guess is the variable into which we insert the password to guess
- list_of_games_to_guess = []
- #list_of_entered_games is a list of games entered by the user
- list_of_entered_games = []
- ###EVERYTHING ABOVE IS A STARTER PROJECT
- ###STARTER
- #we display the instructions
- print("Welcome to the MasterMind game")
- print("Your goal is to guess the 4 games that have been drawn by the computer as quickly as possible.")
- print("The order of the games is relevant when guessing.")
- print("Please note the games may be duplicated!!!")
- print("Here is the set of games used by the computer")
- print(games)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement