Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have a C# Visual Studio project that implements a connect four game that I need help with. The program should correspond with the given

I have a C# Visual Studio project that implements a connect four game that I need help with. The program should correspond with the given GUI:

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

For this assignment, you are to build a program that plays the game, Connect Four. While expert level play is not required, it should provide a challenge for those who are only casual players of the game. User Requirements Connect Four is a two-player game played on a vertical board. The board is a grid af six rows and seven columns. Players take turns dropping their game pieces into one of the columns. Because the columns are vertical, each piece drops to the lowest unoccupied cell in that column. Each player's goal is to get four of his or her pieces in a straight line of adjacenct cells, either horizontally, vertically, or diagonally. If the board is filled before either player wins, the game is a draw. More information, including an animation of the game, can be found on the game's Wikipedia pagee The user is a company that wants to market a version of the game. This implementation needs to support user play against the program. It must allow the user the option of having either the first or second play. It also needs to support seven levels of play difficulty. Because this is a first release of the game, expert play is not required, but each successive level should play a stronger game. At the end of the game, it must report the winner, or that the game was drawn. It only needs to support playing a single game (the program can be restarted for a rematch), but it needs to leave the final board visible until the user exits the progran For this assignment, you are to build a program that plays the game, Connect Four. While expert level play is not required, it should provide a challenge for those who are only casual players of the game. User Requirements Connect Four is a two-player game played on a vertical board. The board is a grid af six rows and seven columns. Players take turns dropping their game pieces into one of the columns. Because the columns are vertical, each piece drops to the lowest unoccupied cell in that column. Each player's goal is to get four of his or her pieces in a straight line of adjacenct cells, either horizontally, vertically, or diagonally. If the board is filled before either player wins, the game is a draw. More information, including an animation of the game, can be found on the game's Wikipedia pagee The user is a company that wants to market a version of the game. This implementation needs to support user play against the program. It must allow the user the option of having either the first or second play. It also needs to support seven levels of play difficulty. Because this is a first release of the game, expert play is not required, but each successive level should play a stronger game. At the end of the game, it must report the winner, or that the game was drawn. It only needs to support playing a single game (the program can be restarted for a rematch), but it needs to leave the final board visible until the user exits the progran

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

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions