Set MAX_CHIPS constant to 21 Set PlayerOneSscore to 0 Set PlayerTwoScore to 0 Set chipsLeft to 0 Set chipsTaken to 0 Get playerOneName through user input Get playerTwoName through user input Get rounds through user input While rounds is greater than zero chipsLeft = MAX_CHIPS While chipsLeft is greater than zero Output chipsLeft Get player1 chosen amount of chips to take Update chipsLeft If chipsLeft is lesser than one Add 1 to playerOneScore Break from loop Output chipsLeft Get player2 chosen amount of chips to take Update chipsLeft If chipsLeft is lesser than one Add 1 to playerTwoScore Break from loop Minus 1 from rounds Check who has the higher score and output the winner