#-------------------------------------------------------------------------- # Name: Pick-up Game # Purpose: 11DGT # Standard: TE PUNGA - Programming Assessment # School: Tauranga Boys College # Author: Jeric Madlangbayan # Created: 18 March 2024 # Copyright: ©Jeric Madlangbayan 18/03/2024 #-------------------------------------------------------------------------- import unittest #import libraries # Set starting variables ----------------------------------- #Set MAX_CHIPS constant to 21 #Set Player_username1_Score to 0 #Set Player_username2_Score to 0 #Set chips_left to 0 #Set chips_Taken to 0 username1 = input ("Hi! What is your name Player 1?") username2 = input ("Hi! What is your name Player 2?") print ("Welcome to the Pick-up Game (username1) + (username2)") max_rounds = input ("How many rounds do you want to play?") print ("Pick chips from 1 to maximum of 3") #MAX_CHIPS = 21 #rounds_Played= 0 #username1_score = 0 #username2_score = 0 #chips_Left = #MAX_CHIPS for number in range(7-21): #player 1 = username1 print ("username1 Pick up how many chips you want.") chips_Taken = input chips_Left = input #player 2 = username2 print ("username2 it's your turn, pick up chips from 1 to 3") chips_Taken = input chips_Left = input