Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write in Pseudocode (not in Java or Python) and a flowchart using Flowgarithm program. There should be a minimum of 10 Modules. Thank you.

Please write in Pseudocode (not in Java or Python) and a flowchart using Flowgarithm program. There should be a minimum of 10 Modules. Thank you.

The language should be pseudocode and flowgarithm.

image text in transcribed

11. Tic-Tac-Toe Game srs mo dimensional String array with three rows and three columns as the game board. Each element of the array should be initialized with an asterisk (). The program should run a loop that does the following: a. Displays the contents of the board array. b. Allows player 1 to selet a location on the board for an X. The program should ask the user to enter the row and column number. c. Allows player 2 to select a location on the board for an O. The program should ask the user to enter the row and column number d. Determines whether a player has won or if a tie has occurred. If a player has won, the program should declare that player the winner and end. If a tie has occurred, the program should say so and end. e. Player 1 wins when there are three Xs in a row on the game board. Player 2 wins when there are three Os in a row on the game board. The winning Xs or Os can appear in a row, in a column, or diagonally across the board. A tie occurs when all of the locations on the board are full, but there is no winner. 11. Tic-Tac-Toe Game srs mo dimensional String array with three rows and three columns as the game board. Each element of the array should be initialized with an asterisk (). The program should run a loop that does the following: a. Displays the contents of the board array. b. Allows player 1 to selet a location on the board for an X. The program should ask the user to enter the row and column number. c. Allows player 2 to select a location on the board for an O. The program should ask the user to enter the row and column number d. Determines whether a player has won or if a tie has occurred. If a player has won, the program should declare that player the winner and end. If a tie has occurred, the program should say so and end. e. Player 1 wins when there are three Xs in a row on the game board. Player 2 wins when there are three Os in a row on the game board. The winning Xs or Os can appear in a row, in a column, or diagonally across the board. A tie occurs when all of the locations on the board are full, but there is no winner

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Datacasting How To Stream Databases Over The Internet

Authors: Jessica Keyes

1st Edition

007034678X, 978-0070346789

More Books

Students also viewed these Databases questions

Question

Discuss the states of accounting

Answered: 1 week ago

Question

=+ For what reasons can and do unions go on strike?

Answered: 1 week ago

Question

=+ Is secondary industrial action common and/or legal?

Answered: 1 week ago

Question

=+What sanctions are available to employers

Answered: 1 week ago