Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 635 Bytes

README.md

File metadata and controls

44 lines (39 loc) · 635 Bytes

Minesweeper

Command line based Minesweeper game

Example Game

Run: python minesweeper.py
Input size of board
Choose width of board: 3
Choose number of mines: 2

-------------
|   |   |   |
-------------
|   |   |   |
-------------
|   |   |   |
-------------

Choose x move: 0
Choose x move: 0

-------------
| 0 | 0 | 0 |
-------------
| 1 | 1 | 2 |
-------------
|   |   |   |
-------------

Choose x move: 0
Choose x move: 2

-------------
| 0 | 0 | 0 |
-------------
| 1 | 1 | 2 |
-------------
| 1 |   |   |
-------------

Winner, winner chicken dinner!