Skip to main content

A package to run MCTS for Monopoly

Project description

Monopoly MCTS AI

Monopoly MCTS AI is a Python package that implements the Monte Carlo Tree Search (MCTS) algorithm for decision-making in simulated Monopoly games. It utilizes neural networks for strategy optimization and state evaluation, providing a framework for researching AI-driven decision-making in board games.

Features

  • Implementation of the Monte Carlo Tree Search (MCTS) algorithm.
  • Use of neural networks (NN) for evaluating game states and making decisions.
  • Simulation of Monopoly game dynamics including properties, stations, utilities, and player interactions.
  • Customizable strategies for AI players.

Installation

Option 1

Clone this repository to your local machine:

bashCopy code
git clone https://github.com/catherineannie13/Capstone-Optimising-Monopoly-Gameplay-Strategies.git
cd monopoly-mcts-ai

Ensure you have Python 3.8 or later installed. It's recommended to use a virtual environment:

bashCopy code
python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`

Install the required dependencies:

bashCopy code
pip install -r requirements.txt

Option 2

Run pip install -i https://pypi.org/simple/ mcts-catherineannie13==0.0.1

Usage

To run a simulation of the Monopoly game with the MCTS AI, execute the following command in the root directory of the project:

bashCopy code
python -m MonopolyBoardMCTS

You can customize the simulation parameters within the MonopolyBoardMCTS.py script or by modifying the command-line interface (if implemented) to adjust the number of games, AI strategies, and other settings.

Contributing

Contributions to the Monopoly MCTS AI project are welcome. Please follow the standard fork-and-pull request workflow on GitHub. Ensure you write or update tests as necessary.

License

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

Acknowledgments

  • This project is inspired by the classic board game Monopoly.
  • Monte Carlo Tree Search algorithm for strategic decision-making.
  • Neural network implementation for state evaluation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcts_catherineannie13-0.0.1.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcts_catherineannie13-0.0.1-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file mcts_catherineannie13-0.0.1.tar.gz.

File metadata

  • Download URL: mcts_catherineannie13-0.0.1.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for mcts_catherineannie13-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6734c26334892c3b67e5de95c3d74a9693a0253cedc0cf9465c6aad7297acff8
MD5 f71b78e91db47d4976cb15b05b667e1f
BLAKE2b-256 b769893af1d66a5047e0562ace9b0590ceeca24061fef497caf80420870fa782

See more details on using hashes here.

File details

Details for the file mcts_catherineannie13-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcts_catherineannie13-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e1f14cfb03b31070163739ad00451ffe6b331ed09e6c2e8f7c773084ac3228c
MD5 1b6fd97f78fae1f24980cc0e0b6b66e1
BLAKE2b-256 2a1695707652718eb2c6ef86f8a1215da68d19342b2e3b70c4e9b7d38bc26e14

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page