Noughts and crosses
Introduction
Small Python library dedicated to training a simple machine learning algorithm to play Noughts and Crosses.
Installation
To install the package, run the following command:
pip install noughts_and_crosses
Playing
Once installed, a simple game of noughts and crosses can be played by running the following command:
noughts_and_crosses
The basic game is designed such that the crosses player starts by making moves at random, but then learns to choose better moves as it plays more games. The noughts player will always choose a random position.