This project aims to develop an AI capable of solving Minesweeper games. It includes a Python implementation of Minesweeper and an AI module that uses machine learning or heuristic algorithms to play the game.
- Python 3.x
- Additional Python libraries:
numpy
,pytest
,pytorch
- Clone the repository:
git clone https://github.com/adhikariprajitraj/Minesweeper-Solving-NN
- Navigate to the project directory
cd minesweeper_ai
- Install the required Python libraries:
pip install -r requirements.txt
/ai
: AI model scripts for decision making./game
: Minesweeper game logic and utilities./tests
: Test scripts for both game logic and AI functionality./data
: Data storage for training the AI./docs
: Documentation of the project.
To run the game with AI, execute the main.py
script:
python main.py
The AI model can be trained using the scripts in the /ai
directory. The model uses [describe the model, e.g., neural network, reinforcement learning, etc.] to make decisions.
Run tests using pytest
to ensure both game logic and AI functionality are working as expected:
pytest
For detailed information on project setup, game logic, and AI architecture, refer to the documents in the /docs
folder.
Contributions to the Minesweeper AI project are welcome. Please read CONTRIBUTING.md
for details on our code of conduct, and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE
file for details.