""" ------------------------------------------------- Project: Take-Away Game Standard: 91883 (AS1.7) v.1 School: Tauranga Boys' College Author: Kyree Rikiti-Edmonds Date: THE DATE YOU COMPLETED THE CODE Python: 3.5 ------------------------------------------------- """ #Imports for the time.sleep input import time #Each variable for the code to use MAX_CHIPS = 21 Player_Ones_Score = 0 Player_Twos_Score = 0 Chips_Left = 0 Chips_Taken = 0 #Talking about the game and what will happen (Not finished) print() print( "----------------------------------------------") print() time.sleep(1.5) print( "Welcome to the 21 Game also known as Blackjack" ) print() time.sleep(1.5) print( "You and one other player will be playing ageinst each other to get the closest to 21" ) print() time.sleep(2.8) print( "You will be playing up to 1-5 rounds" ) print() time.sleep(2) print( "You may choose how many rounds there will be" ) print() time.sleep(1.9) print( "May the best player win!" ) print() time.sleep(2.3) print( "----------------------------------------------" ) print() #Loop to ask for both players names while True : Player_Ones_Name = str(input( "What is the first players name? " )) Player_Twos_Name = str(input( "What is the second players name? " )) if Player_Ones_Name.isalpha() and Player_Twos_Name.isalpha() == True : break else : print( "This name is not an acceptable, please try again" )