<commit_before>Monte Carlo Tree Search
=======================

This is an implementation of an AI in Python using the UCT Monte Carlo
Tree Search algorithm.


Requirements
------------

You need to have the following system packages installed:

* Python >= 2.7


Getting Started
---------------

To set up your local environment you should create a virtualenv and
install everything into it. ::

    $ mkvirtualenv mcts

Pip install this repo, either from a local copy, ::

    $ pip install -e mcts

or from github, ::

    $ pip install git+https://github.com/jbradberry/mcts#egg=mcts

and then install the requirements ::

    $ pip install -r requirements.txt

The Monte Carlo Tree Search AIs included here are designed to work
with `jbradberry/boardgame-socketserver
<https://github.com/jbradberry/boardgame-socketserver>`_ and
`jbradberry/boardgame-socketplayer
<https://github.com/jbradberry/boardgame-socketplayer>`_.


Games
-----

Compatible games that have been implemented include:
<commit_msg>Removed the install requirements step from the readme<commit_after>Monte Carlo Tree Search
=======================

This is an implementation of an AI in Python using the UCT Monte Carlo
Tree Search algorithm.


Requirements
------------

You need to have the following system packages installed:

* Python >= 2.7


Getting Started
---------------

To set up your local environment you should create a virtualenv and
install everything into it. ::

    $ mkvirtualenv mcts

Pip install this repo, either from a local copy, ::

    $ pip install -e mcts

or from github, ::

    $ pip install git+https://github.com/jbradberry/mcts#egg=mcts

The Monte Carlo Tree Search AIs included here are designed to work
with `jbradberry/boardgame-socketserver
<https://github.com/jbradberry/boardgame-socketserver>`_ and
`jbradberry/boardgame-socketplayer
<https://github.com/jbradberry/boardgame-socketplayer>`_.


Games
-----

Compatible games that have been implemented include:

{'fraction_non_alphanumeric': 0.11886697015680324, 'fraction_numerical': 0.0020232675771370764, 'mean_word_length': 3.6983372921615203, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1108427', 'n_tokens_mistral': 575, 'n_tokens_neox': 549, 'n_words': 212}