Welcome to the Connect Four Game! This project is a two-player game where each player takes turns placing their game pieces in a 7x7 grid. The first player to get four of their pieces in a row horizontally, vertically, or diagonally wins the game.
Follow these steps to install the Connect Four game on your system:
- Windows 10 or later
- .NET Framework 4.7.2 or later
-
Clone the Repository
git clone https://github.com/Tatendamarimo/Connect-Four-Game.git cd connect-four-game
-
Open the Project
- Open the project in Visual Studio.
-
Build the Solution
- In Visual Studio, build the solution to restore any missing dependencies and compile the code.
-
Run the Program
- Start the program from Visual Studio by pressing
F5
or by selectingDebug
->Start Debugging
.
- Start the program from Visual Studio by pressing
Once the program is running, follow these instructions to play the game:
-
Start a New Game
- The game will start with an empty 7x7 grid.
-
Place a Piece
- Click on the desired column to place your piece. The piece will fall to the lowest available row in that column.
-
Win the Game
- The first player to connect four pieces in a row horizontally, vertically, or diagonally wins the game. A message will be displayed announcing the winner.
-
Restart the Game
- After a game ends, you can restart it by pressing the "Restart" button.
- Two-player mode
- 7x7 grid
- Win detection for horizontal, vertical, and diagonal connections
- High-quality graphics and user interface
Here are some common issues and their solutions:
- Solution: Ensure that all necessary files are present in the correct directories. Check the project's
bin
folder for the compiled files.
- Solution: Verify that your system meets the minimum requirements specified above. If not, consider upgrading your system to meet these requirements.
- Solution: Try reinstalling the program. Ensure that you have sufficient permissions and that no other processes are interfering with the installation. If the problem persists, contact customer support.
This project is licensed under the MIT License. See the LICENSE file for details.
I hope you enjoy playing the Connect Four Game! If you have any questions or feedback, please feel free to reach out or open an issue on GitHub. Happy playing! 🎮