Skip to content

This repository contains the Connect Four Game, a digital two-player game implemented in Visual Basic and .NET for Windows. Players take turns dropping pieces into a 7x7 grid to connect four in a row. Features include automatic win detection and an intuitive interface.

License

Notifications You must be signed in to change notification settings

Tatendamarimo/Connect-Four-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README.md

Connect Four Game

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.

Table of Contents

Installation

Follow these steps to install the Connect Four game on your system:

Prerequisites

  • Windows 10 or later
  • .NET Framework 4.7.2 or later

Steps

  1. Clone the Repository

    git clone https://github.com/Tatendamarimo/Connect-Four-Game.git
    cd connect-four-game
  2. Open the Project

    • Open the project in Visual Studio.
  3. Build the Solution

    • In Visual Studio, build the solution to restore any missing dependencies and compile the code.
  4. Run the Program

    • Start the program from Visual Studio by pressing F5 or by selecting Debug -> Start Debugging.

Usage

Once the program is running, follow these instructions to play the game:

  1. Start a New Game

    • The game will start with an empty 7x7 grid.
  2. Place a Piece

    • Click on the desired column to place your piece. The piece will fall to the lowest available row in that column.
  3. 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.
  4. Restart the Game

    • After a game ends, you can restart it by pressing the "Restart" button.

Features

  • Two-player mode
  • 7x7 grid
  • Win detection for horizontal, vertical, and diagonal connections
  • High-quality graphics and user interface

Troubleshooting

Here are some common issues and their solutions:

Error: Required Files Not Found

  • Solution: Ensure that all necessary files are present in the correct directories. Check the project's bin folder for the compiled files.

Error: Incompatible System Requirements

  • Solution: Verify that your system meets the minimum requirements specified above. If not, consider upgrading your system to meet these requirements.

Installation Failed

  • 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.

License

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! 🎮

About

This repository contains the Connect Four Game, a digital two-player game implemented in Visual Basic and .NET for Windows. Players take turns dropping pieces into a 7x7 grid to connect four in a row. Features include automatic win detection and an intuitive interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published