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

Problem – Tic-Tac-Toe Versus Computer Problem description Create a high-level de

ID: 3812860 • Letter: P

Question

Problem – Tic-Tac-Toe Versus Computer

Problem description

Create a high-level design for a program that allows a person to play Tic-Tac-Toe against the computer. After each game, give the player the option to quit or play again. The computer can play its moves randomly. The computer keeps track of who has won and how many games have been played. When requested by the player, the application displays a summary of wins, losses, and ties. Make the user interface independent of the game logic.

Problem analysis –

Write a detailed problem description and identify the nouns and verbs of the problem and determine the classes that your program will use.

Program design –

Determine the methods for each class.

Determine the attributes of each class by observing which classes need to send message to which.

Refine your design.

Methods specification –

Write headers for all methods, but do not yet implement the methods.

Split the classes roughly equally into two groups Group 1 and Group 2.

Implement Group 1 classes using a text-based user interface –

For each class in Group 1

Design methods – write pseudo code if necessary

Implement the class

Implement Group 2 classes using a text-based user interface –

For each class in Group 1

Design methods – write pseudo code if necessary

Implement the class

Test Group 1 classes –

For each class in Group 1

Design test cases

Write the tester class

Run the tester and Report test result

Test Group 2 classes –

For each class in Group 2

Design test cases

Write the tester class

Run the tester and Report test result

Explanation / Answer

Here is console program in Java:

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote