Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Project 1 - Due 11/24 This homework must be submitted by 5pm on the due date to

ID: 653456 • Letter: P

Question

Project 1 - Due 11/24

This homework must be submitted by 5pm on the due date to get any credit.

Connect Four

We will be programming an interface to simulate a connect four game. Those unfamiliar with connect four should look here for more details. The entire game will be text based, with players taking turns entering moves. Your connect four program should first prompt the user for a number of rows, then a number of columns. If either of these values is less than five, the program should continue to ask the user for a row or column value until the user enters a number five or greater. If the user enters something that isn't a number, the program should continue to prompt them until they enter a number. Once a number of rows and number of columns has been successfully been entered, you should continue to prompt each player for a move in turn until a player has won or drawn. Once the game has ended, you should display the winner and present an option to play again by typing y, or to quit by typing n.

At any point during the game, the player whose turn it is can type "s". Typing "s" will immediately save the game to a text file in whatever fromat you choose. At the beginning of each run of the program, the program should give the player the option to load a game stored in a text file.

Your output should look EXACTLY as follows:

Explanation / Answer

using python right?