Question: This needs to be done using C#, windows form application. Need help with this C# program. The assignment instructions are below. Create a simulation for

This needs to be done using C#, windows form application.

Need help with this C# program. The assignment instructions are below.

Create a simulation for the Connect 4 game. The rules for connect-four are simple. The game is played on an upright seven column board. Each column has six spots. Two players play by alternately dropping a chip down one of the columns. The chip drops to the lowest unoccupied spot in that column. The first player to get four chips in a row, either vertical, horizontal, or diagonal, wins. The game ends in a stalemate if it fills before someone wins. Create a view for the game board. This will be the form. The form represents some type of grid. This can be a grid of labels, textboxes, or pictureBoxes. How you layout the view is up to you but it should be intuitive in nature. Create a Class that is the code for the game board. This class is where the game is controlled from. The game board class makes the board on the view and handles all of the moves of the players. After each move this class will assess the board to determine if there is a winner. If a Player has 4 tokens in a row. Report to the form (the view) the winner. The game must be controlled from this class. The form will have very minimal code! To test if a player has won. They must at least have 4 in a row horizontally or vertically. The diagonal test would be more difficult and is optional to you.

Optional classes might be a player class and a token class.

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!