Same controls as regular minesweeper. You can use the "options" button to change the size of the board and the number of mines. The "step" option will display the probability of each tile being a mine and can make moves one at a time. The "fast" option allows the AI to play as fast as possible.

CC Attribution ShareAlike

Minesweeper AI

If you're wondering, this program does not do if(not mine) uncover tile Instead, the AI uses the brute force to calculate the probabilities of there being a mine by finding every possible arrangement of mines (with optimizations). Several things to note: 1. This program was originally written in Processing (the downloadable java-like environment) 2. The AI will lose about 70% of the time on default setting for the board (expert mode in a regular minesweeper game) because of the amount of unavoidable uncertainty
Same controls as regular minesweeper. You can use the "options" button to change the size of the board and the number of mines. The "step" option will display the probability of each tile being a mine and can make moves one at a time. The "fast" option allows the AI to play as fast as possible.
e.g., mouse, keyboard
e.g., visualization, fractal, mouse
Learn more about Creative Commons
Join Plus+ to change privacy settings
  • Minesweeper AI
Select mode or a template
Centers sketch and matches the background color.
Prevents infinite loops that may freeze the sketch.
This will be the default layout for your sketches
Easy on the eyes
It will show up when there is an error or print() in code
Potential warnings will be displayed as you type
Closes parenthesis-like characters automatically as you type

Controls
Play
Ctrl+Enter
Code
Ctrl+Shift+Enter
Save
Ctrl+S
Interface
Fullscreen
Ctrl+Alt+F
Switch Layout
Ctrl+Alt+L
Settings
Ctrl+Alt+.
Editor
Tidy Code
Ctrl+B
Multiple Cursors
Ctrl+Click
Duplicate Line/Selection
Ctrl+Shift+D
Move Line
Alt+↑/↓
Select Multiple
Ctrl+D
Find in Code
Ctrl+F
Find Next
Ctrl+G
Find Previous
Ctrl+Shift+G

See More Shortcuts

Join Plus+ for private sketches, version history, 1GB space, custom embeds, and more!