Skip to content

A Minesweeper game built with C# and Windows Forms. Includes dynamic grids, a scoreboard, and adjustable difficulty levels, offering fun and challenge for strategy lovers!

Notifications You must be signed in to change notification settings

bsenurbas/Minesweeper

Repository files navigation

Minesweeper Game

This project is a desktop application based on the classic Minesweeper game. Players must open safe cells in a minefield while being as quick and careful as possible. The application is developed using C# and Windows Forms.


Features

  • Dynamic Grid System: Players can customize the grid size and the number of mines to adjust the difficulty level.
  • Scoreboard: Tracks and displays player scores after each game.
  • Flag Placement: Mark cells you suspect to contain mines with flags.
  • Responsive Design: Adapts to different screen sizes seamlessly.
  • Time Tracking: Monitors the game's duration and incorporates it into the score calculation.

Installation

Requirements

  • .NET Framework (v4.7.2 or later)
  • Visual Studio 2022 (or a compatible IDE)

Steps

  1. Clone the Repository
    git clone https://github.com/your_username/minesweeper-game.git
  2. Open the Project
    • Launch Visual Studio and load the MayinTarlasi.sln file.
  3. Install Dependencies
    • Visual Studio will automatically install all required dependencies.
  4. Run the Application
    • Press F5 to build and run the project.

Usage

  1. When the application starts, enter your username and configure the grid size and the number of mines.
  2. Once the game begins, open safe cells by left-clicking on them.
    • Right-click to place flags on suspected mine cells.
  3. At the end of the game, your score is calculated and recorded on the scoreboard.

Development

New Features

  • UI support for different themes.
  • Multiplayer mode.
  • Database integration for comprehensive score management.

Contribution

  1. Fork this repository to your account.
  2. Add new features and test them thoroughly.
  3. Submit a pull request for review.
  4. Report issues to help improve the project.

About

A Minesweeper game built with C# and Windows Forms. Includes dynamic grids, a scoreboard, and adjustable difficulty levels, offering fun and challenge for strategy lovers!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages