Minefield is a puzzle game where the player navigates through a grid-based minefield, trying to uncover all the safe cells without detonating any hidden mines.
- Uncover Safe Cells: Reveal all the safe cells on the grid without triggering any mines.
- Avoid Mines: Determine the locations of the mines based on the numbers revealed in adjacent cells.
-
Installation:
- Ensure Python is installed on your computer.
- Clone this repository to your local machine.
- Navigate to the project directory in the terminal.
-
Run the Game:
- Type
py main.pyin the terminal and press Enter to start the game.
- Type
-
Game Mechanics:
- The game board consists of a grid of cells, some containing hidden mines.
- Enter the row and column numbers to uncover a cell.
- If a mine is uncovered, the game ends.
- Use the revealed numbers to strategically uncover additional cells and avoid mines.
- Use the arrow keys or mouse clicks to navigate the grid and select cells.
- Enter the row and column numbers to select a specific cell.
- Press the spacebar or Enter key to reveal a selected cell.
- Randomly generated minefield.
- User-friendly interface with clear visuals and intuitive controls.