Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need code for points 5-13.the screenshot is of the GUI using tablelayoutpanel .ignore the tools and info buttons. i need code for b1-b9 and

image text in transcribed

i need code for points 5-13.the screenshot is of the GUI using tablelayoutpanel .ignore the tools and info buttons. i need code for b1-b9 and new game and quit game thanks!!

DO NOT USE A MESSAGEBOX FOR DISPLAYING TEXT. The event handler for that is the textBox highlighted in Blue in the screenshot. Thank you!!!

Design, code, and test a TicTacToe game. Your game should be:

1. A Windows Forms (.NET Framework) GUI application

2. App must use a TableLayoutPanel to control the layout of Buttons, Labels, and other GUI components on the top level Form

3. Use of MessageBox is not allowed in any part of the app. All UI elements must be part of the Form.

4. App must resize from some reasonable min to max sizes with all components resizing appropriately

5. Your game must have 1 human player who has autonomy in their selection of squares to place their mark.

6. The player shall play against the computer.

7. The computer will use a pseudo-random square selection to place its marker

8. The first player to move will be chosen using the Random class.

9. Each player, human and computer, should have reasonable opportunity to move first.

10. The first player to move is automatically assigned to X, second player to move is assigned to O.

11. There should be controls to:

Start a new game at any time.

Stop a game and Exit the application at any time.

12. The winner of a game should be announced and the game ended as soon as there is a winner. do not use messagebox, use textbox which is the blue box next to quit game.

13. A game where neither player wins should be declared a "TIE" or a "CAT'S" game. do not use messagebox, use textbox which is the blue box next to quit game.

Tic Tac Toe New Game Quit Game but1 but2 but3 but 4 but5 but6 but7 but8 but 9

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

Step: 3

blur-text-image

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

Beginning PostgreSQL On The Cloud Simplifying Database As A Service On Cloud Platforms

Authors: Baji Shaik ,Avinash Vallarapu

1st Edition

1484234464, 978-1484234464

More Books

Students also viewed these Databases questions