#------------------------------------------------- #Project: Guess the number game #Standard: 91883 (AS1.7) v.1 #School: Tauranga Boys' College #Author: Aarav Sharma #Date: THE DATE YOU COMPLETED THE CODE #Python: 3.5 #------------------------------------------------- import time import random #Varibles reset_guesses = 0 rounds = 3 user_score = 0 AI_score = 0 round_won = True round = 1 random_number = random.randit(1,1000) #intro print ("Hello welcome to the guessing game!") time.sleep(1) name = input ("What is your name?") print ("Hello", name, "this is the game where you try and guess the magic number") time.sleep(2) print ("You will have 10 guesses per round and it's a best of 3 rounds, so if you win 2 then you win the whole thing!") #start of the loop while True: if round > 3: player_guess = input("Pick your first number between 1-1000") if player_guess == random_number ()