Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design, code, and test a TicTacToe game. Your game should be: A Windows Forms (.NET Framework) GUI application App must use a TableLayoutPanel to control

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

A Windows Forms (.NET Framework) GUI application

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

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

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

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

The player shall play against the computer.

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

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

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

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

There should be controls to:

Start a new game at any time.

Stop a game and Exit the application at any time.

The winner of a game should be announced and the game ended as soon as there is a winner.

A game where neither player wins should be declared a "TIE" or a "CAT'S" game.

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

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

Students also viewed these Databases questions

Question

Example. Evaluate 5n+7 lim 7-00 3n-5

Answered: 1 week ago

Question

9. Power and politics can be destructive forces in organizations.

Answered: 1 week ago