Code Monkey home page Code Monkey logo

minesweeper-solving-nn's Introduction

Minesweeper AI

Overview

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.

Getting Started

Prerequisites

  • Python 3.x
  • Additional Python libraries: numpy, pytest, pytorch

Installation

  1. Clone the repository: git clone https://github.com/adhikariprajitraj/Minesweeper-Solving-NN
  2. Navigate to the project directory cd minesweeper_ai
  3. Install the required Python libraries: pip install -r requirements.txt

Structure

  • /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.

Usage

To run the game with AI, execute the main.py script: python main.py

AI Model

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.

Testing

Run tests using pytest to ensure both game logic and AI functionality are working as expected:

pytest

Documentation

For detailed information on project setup, game logic, and AI architecture, refer to the documents in the /docs folder.

Contributing

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

minesweeper-solving-nn's People

Contributors

adhikariprajitraj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.