MID-TERM PROGRAMMING ASSIGNMENT Due Week of March 24 Write a program to play a number guessing game between the computer and a player. This game is an extension of the game we played in class. You should write out the design of your program before you begin coding. You can consult with your TA during the design phase. Include plenty of comments. Use as many methods as you can to make the logic transparent. There are two situations: In situation 1, the player thinks of an integer between 1 and 100 and the computer tries to guess it in six guesses. The player must respond to each guess by typing "correct", "too big", or "too small". In this case the computer should use binary search algorithm. In situation 2, the computer picks a random integer in the same range and the player tries to guess it in six guesses. The computer must respond to each guess by printing "correct", "too big", or "too small". The program prints out good instructions when necessary. Your program asks who picks the number and who tries to guess it. The program prints out how many guesses are used. The computer asks if the user wants to play again. The program reports win/loss statistics. Note: Your TA will run your program with you in the lab before you receive your grade on this assignment.