Skip to content

niklashauschel/minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python_Minesweeper

How to start game

To start make you have to run ooGUI.py. Logic is only a passiv file

How to run test

To run test you have only run unittest_logic.py

What is the different with rows and colums

tkinter need the totall different position of colum and row then pn.array. In np.array you need first rows then columns. In tkinter first columns then rows.

Coding Guidelines

We use PEP8. To add PEP8 to a projekt use the command Ctrl+Shift+P in vscode and click on select Linter. Choose PEP8 in the list

However, I would limit the line length to 120 characters from convenience (default for PyCharm). In VSCode this can be done with "python.linting.pep8Args": ["--max-line-length=120"] can be changed. Open with CTRL+, setting.json

Comments

'''

in:

do:

out:

TODO:

'''

Numbers

0-9 stands for the bombs around 10 stands for a bomb 11 stands for a clicked field

Logging

filename:classname:methodname:message

https://docs.python.org/3/howto/logging-cookbook.html

TODO

proptery

check if the field is solvable

more tests

About

Minesweeper game written in Python using Tkinter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages