Giter VIP home page Giter VIP logo

minesweeper_destroyer's Introduction

Minesweeper_destroyer

The main goal of the project is to create a Python program to solve the Minesweeper game using

  • Screen reader
  • Logic math : an algorithm to enumerate all possible configurations then using logic math to choose the best result
  • Probability: Sometimes luck is needed to win the game, we would then use probability to optimize our luck and secure victory
  • Graph theory: BFS to optimize the process

Project description and implementation detail

Please check the report file for more detail

How to run

Be noted that Minesweeper_destroyer only works on Minesweeper of windows 10
Step 1: Turn on Minesweeper and put it in full screen mode
Step 2: In src/base/Base.java, fill in your screen resolution in the 2 varibles ScreenWidth and ScreenHeight
Step 3: execute src/MSolver.java/ and quickly minimize the process to reveal minesweeper screen
Step 4: Enjoy

Some note

Please be noted that minesweeper is still a game of luck (the highest winrate of the best player in minesweeper.online is only 39% in 100 games). Thus in many case in hard mode, the bot still loses some match, yet it is not because the bot is not optimal, it is usually because of 50-50 situtation. The current winrate of the bot is 43% in hard mode. Please check the report file for more detail

minesweeper_destroyer's People

Contributors

thesunsavior avatar vuphuc24601 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.