Giter VIP home page Giter VIP logo

python-minesweeper's Introduction

python-minesweeper

A clean, smooth, and aesthetic Minesweeper game implemented in Python using tkinter. This project relies solely on Python's base modules, requiring no additional dependencies beyond a standard Python installation.

Made with the intent of looking nice and being easy to setup & play.


Table of Contents

  1. Introduction
  2. Features
  3. Previews
  4. Installation & Usage
  5. Todo

Features

  • Multiple Difficulty Levels: Choose from Beginner, Intermediate, or Expert levels to match your skill.
  • Highscores Tracking: Records your best times in a file for each difficulty level, allowing you to track your progress and achievements.
  • Chording: Allows you to quickly reveal adjacent cells when the number of flags around a numbered cell matches its number.
  • Safe First Click: The first cell clicked will never be a mine, ensuring a fair start to each game.
  • Imageless Aesthetics: The game runs entirely using one file, no images or requirements.
  • Impossible Move Alerts: Numbers that do not logically make sense (e.g: having too many flags) are highlighted in red.

Previews

Gameplay

gameplay.mp4

In-game

image

On loss

image

Main Menu

image

Highscores

image

Installation & Usage

git clone https://github.com/dootss/python-minesweeper.git
cd python-minesweeper
python main.py

Todo

  • Customizable mine count (maybe. it'd make leaderboard tracking harder.)
  • Fix larger grid centering
  • More animations
  • Edge rounding (if even practically possible)
  • Customizable color scheme

python-minesweeper's People

Contributors

dootss avatar

Stargazers

 avatar  avatar Puzzled avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.