Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming C# ONLY PLS USE VISUAL STUDIO with Windows Forms App(.NET Framework) Exam Instructions 1. Start Visual Studio and Open the project named Exam1 from

Programming
C# ONLY
PLS USE VISUAL STUDIO
with Windows Forms App(.NET Framework)
image text in transcribed
image text in transcribed
Exam Instructions 1. Start Visual Studio and Open the project named Exam1 from Canvas. The form is already created. You need to modify the code to make the form work. 2. Type your First, Name Last Name and Exam Number as Comments in the Program. 3. Code the Visual CH Project utilizing steps on next page. 4. Debug and Test your program. 5. Save All the files and Exit Visual Studio. 6. Zip the Project Folder and .sin file, then upload your completed file into Canvas. 7. See details on next page. Problem Statement: We have a nearly completed Tic Tac Toe desktop application. However, the checkHorizontal, checkVertical and checkDiagonal methods are missing the logical aspects of the program, and we need your help! Dive into the code, and add the missing logic functionality. You will need to only fix this portion of the code. Code task: 1. Identify the "checkHorizontal()", "checkVertical()", and "checkDiagonal()" methods within the code behind. 2. ONLY MODIFY THESE METHODSI 3. Add if-else statements: a. The method should return true if a winning pattern has been found. b. The method should return false if a winning pattern has not been found. c. Compare with the variables: "currentTurn" and the buttons 1-9 display values. 4. Optional: Find bugs within the program for brownie points. Hints: - Use the debugger! - Place an intelligent breakpoint to stop the program where you need information

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

Database Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions

Question

7. Discuss the key features of the learning organization.

Answered: 1 week ago