Question: www.ee.nm. Calculus 2n... (21) Related Write a tic-tac-toe program. Your program should allow two players to play against each other or one player plays against

 www.ee.nm. Calculus 2n... (21) Related Write a tic-tac-toe program. Your program

www.ee.nm. Calculus 2n... (21) Related Write a tic-tac-toe program. Your program should allow two players to play against each other or one player plays against the computer. At the beginning of each game you should provide the user with a selection between the two options or to quit the game. The user should enter the row and the column where he/she wants to play in the following format x,y, where x and y are the coordinates. You should check if: 1. an invalid coordinate (either outside the board or a coordinate already played) 2. an invalid format After each move you should display the current status of the board and either ask the next player to make a move or declare the winner or a tie. The board may look something like lolxl After a winner or a tie is declared, provide the statistics of how many wins, loses or ties each player got: player 1 vs player 2 /computer, then the game starts over ind the user is presented with the menu again. " If the user chooses to play against the computer use a random number generator to choose location to make the next move. You should check and make sure that that position is vald Report Write a report describing your entire process. Your report should include: Introduction: describe in your own words what the projeet is about . Program discusion: describe how you will go about structuring your program Results present the results of your program with test data and discuss who it worked and some analysis of how efficient it is . Conclusion: provide some remarks regarding the project and what you learned Extra Credit You can earn up to 10% extra credit if you add intelligence to the program as you the user plays against the computer. For example, the computer realizes if the human is about to win and tries to block his winning move

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!