3D Minesweeper

3D Minesweeper is a game built using the Ursina game engine in Python. The game features a 3D environment with a grid-based playing field, where the player navigates and places markers to identify the location of mines.

Features

  • 3D game environment with a customizable grid size and mine count
  • First-person player controller
  • Randomly generated mine placements and number indicators
  • Ability to place and remove markers on the grid
  • Metal detector tool to assist in mine detection
  • Environment with various 3D models

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/3D-minesweeper.git
    
  2. Install the required dependencies:

    pip install ursina
    
  3. Run the game:

    python game.py
    

Controls

  • Escape: Toggle the menu
  • WASD: Move the player forward, left, backward, and right
  • Space: Jump
  • 1-4: Change the marker (1 - 1 mine nearby, 2 - 2 mines nearby, 3 - 3 mines nearby, 4 - 4 mines nearby)
  • H: Show/hide the help grid
  • M: Toggle the metal detector
  • Left Mouse: Place a marker on the grid
  • R: Remove a marker from the grid

Development

The project is not yet complete and there are several areas that could be improved or expanded:

  • Main menu and settings
  • Scoring system and game progression
  • Difficulty levels with varying grid sizes and mine counts
  • Better sound effects and background music
  • Animations and visual effects
  • Multiplayer or competitive mode

Contributions are welcome! Feel free to submit issues or pull requests to help improve the game.