Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.78 KB

README.md

File metadata and controls

53 lines (41 loc) · 1.78 KB

Minesweeper

Project Description

The Minesweeper project is a recreation of the classic Minesweeper game, developed in Python using customtkinter. It features a sleek, modern user interface and implements core game mechanics like dynamic grid generation and mine placement.

Features

  • Modern UI: Built with customtkinter for a clean and intuitive user interface.
  • Dynamic Gameplay: Features dynamic grid generation and real-time game status updates.
  • Classic Game Mechanics: Includes mine placement, flagging, and revealing tiles.

Technologies Used

  • Python: Core programming language.
  • customtkinter: Used for creating a modern and visually appealing UI.
  • tkinter: Base library for creating GUI applications in Python.

Installation

  1. Clone the Repository:

    git clone https://github.com/yourusername/minesweeper.git
    cd minesweeper
  2. Install Dependencies: Ensure you have Python installed. Then, install required packages using:

    pip install -r requirements.txt

Usage

  1. Run the Game:

    python minesweeper.py
  2. Play the Game:

    • Click on tiles to reveal them.
    • Right-click to flag potential mines.
    • Avoid clicking on mines to win the game!

Game Instructions

  • Reveal Tiles: Left-click on a tile to reveal it.
  • Flag Mines: Right-click to mark a tile as a mine.
  • Win Condition: Clear all non-mine tiles without triggering a mine.

Screenshots

Include screenshots here to showcase the UI and gameplay (you can add screenshots in the repository and link them here).

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes.

License

This project is licensed under the MIT License.