Skip to content
This repository has been archived by the owner on Jul 1, 2018. It is now read-only.

Minesweeper game written in Python using Tkinter GUI library.

License

Notifications You must be signed in to change notification settings

arbel03/MinesweeperAI-Client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python & MATLAB Minesweeper AI

Rewriting this Minesweeper game, written in python, to export useful data.
This data will later be used to create a Minesweeper AI in MATLAB.

Example data recording:

[[[-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1]], 1]
[[[-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1]], 1]
[[[-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1]], 1]
[[[0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 1, -1, 1, 0], [0, 1, -2, 1, 0], [0, 1, 1, 1, 0]], 1]
[[[0, 0, 3, -2, 4], [1, 1, 3, -1, -1], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1]], 1]
[[[0, 0, 0, 0, 3], [1, 1, 1, 1, 3], [-1, -1, -1, -2, 2], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1]], 1]
[[[1, 1, 1, 1, 3], [-1, -1, 1, -2, 2], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1], [-1, -1, -1, -1, -1]], 1]

-1 is a covered tile
-2 is a flag
0 to 8 are numbers that appear on each tile
0 or 1 at the second index in each row is a good/bad decision

good=no bombs
bad=bomb exploded :(

About

Minesweeper game written in Python using Tkinter GUI library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%