Question: COMPLETELY CONFUSED HELP! Create a C# Windows 10 UWP application for the following problem. When you create a new C# project, Visual Studio will create

COMPLETELY CONFUSED HELP!

Create a C# Windows 10 UWP application for the following problem. When you create a new C# project, Visual Studio will create a folder to hold every file and sub-folder for your project. You need to locate this folder in your computer, zip this folder and then submit the zip file to Blackboard.

In this lab you will create a tic-tac-toe game. You need to demonstrate your ability in using SplitView and building customized layout controls and user controls. The app has the following user interface:

First, use a SplitView to divide the apps window into two partitions. Put a Reset Game AppButton in the left pane. This button is used to clear the current tic-tac-toe game whenever the user wants to reset the game. In the right pane is the tic-tac-toe game board, which consists of 9 squares. Whenever the user clicks on a square, X or O will be shown in that cell, depending on whos turn it is. X always plays first. For example, suppose player X clicks on the central square, this is what you will see:

Now suppose player O chooses the upper left corner, this is what you should see:

The two players take turns to choose empty squares until one user wins the game or there is no more empty squares. If there is a winner, use a message dialog box to show who the winner is:

When the user clicks the Close button, reset the game automatically so a new game can be played immediately.

If there is no winner in the game, show Draw in a message dialog box. Reset the game automatically when the Close button is clicked.

You must create a customized layout control that partition a panel into 9 cells. You must also create a user control that uses the layout control you created, adds buttons in the cells and handles the logical processing of the game.

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!