8000 GitHub - Cosinhs/MineSweeperAI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cosinhs/MineSweeperAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MineSweeperAI

This is a bot for game MineSweeper, only works in Windows OS with ms_arbiter.exe downloaded from http://www.minesweeper.info/downloads/Arbiter.html.

Here I improve the algorithm discussed in https://zhuanlan.zhihu.com/p/39669361. The original algorithm works well in easy (or beginner, i.e., 8×8, 10 mines) and normal (or intermediate, i.e., 16×16, 40 mines) difficulty modes, but too weak to solve the hard (or expert, i.e., 30×16, 99 mines) difficulty mode since it only uses naive strategy. In fact, we just need to solve an indeterminate linear system of equations to find all the safe positions to left click and mine positions to right click. If none is found, we can calculate the probability of every possible positions further and choose the position with least mine probability to left click.

Usage

Unpack Arbiter__0.52.3.zip, start ms_arbiter.exe, select a difficulty according to the code, then run the script and enjoy.

Demo

image
image
image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published
34E3

Packages

No packages published

Languages

0