damo-da / pyMineSweeper

Minesweeper (Python/Pygame)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyMinesweeper

Screenshot

We all know minesweeper. We all played minesweeper at one time in our life.

Installation

  • Install Pygame using: pip install pygame
  • python main.py -> Simple game with default parameters
  • python main_v2.py -> Game with various difficulties, played with keyboard.

Controls

If you're playing main.py, the controls are based on mouse. Left click: reveal. Right click: flag.

If you're playing main_v2.py, the controls are based on keyboard. Arrow keys to move the selected cell. Space to select items in menu and also to reveal. And Z to flag.

Author

Damodar Dahal <hi@damodar.me>

Copyright

MIT License

About

Minesweeper (Python/Pygame)

License:MIT License


Languages

Language:Python 100.0%