A Tic Tac Toe game developed by joke
Project description
JokeTTT: a Tic Tac Toe game developed by joke
JokeTTT is a library providing tic tac toe structures useful to develop games based on several kind of players. It was developed just for fun and to learn Python and some concepts of machine learning.
Project setup
The project has been tested only with python3 on Ubuntu Linux. If you have python3 installed in your machine, just install the package with the usual pip
command.
To avoid the usual problems with messy Python configurations (python 2 vs. 3, packages to install, etc.), conda is used for development.
For those that wants to do the same and does not know conda, this is a a quick reference:
- TDHopper article on python environment with conda
- Get your computer ready for machine learning using *conda
If you have conda installed, enter the project directory (the one with the environment.yml file) and enter the following command:
conda env create
This shall be done only the one time. After this the jokettt
conda environment is created. It can be activated with the command:
conda activate jokettt
To update the conda environment every time that the environment.yml
is changed, enter the command:
conda env update
Demo programs
For example of simple applications that uses the jokettt classes, see the jokettt_demo repository.
Credits
- A.L. Aradhya Minimax introduction article (and all the following) in geeksforgeeks.org for implementation of the minimax player
- T. Simonini "An introduction to reinforcement learning" for introduction theory on value function and for directing me to the Sutton and Barto book.
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
Built Distribution
File details
Details for the file jokettt-1.0.0.tar.gz
.
File metadata
- Download URL: jokettt-1.0.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7e5855eb10242616fc2fabe9a2d11c4cf32e6dc37830d726276412d36a0f8c6 |
|
MD5 | a8a156e75b8b514869747c095396487d |
|
BLAKE2b-256 | df897bee772cd402605020ec1257cb257bb9391b9d60fbfb235a6fdc79a37058 |
File details
Details for the file jokettt-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: jokettt-1.0.0-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2.post20191203 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cbd9aff3ca9b80ac39ffd2e972c8452480a4eb90b3e2657150ecba0ea7cdcdb |
|
MD5 | d63000bc3a8225007b9b9d5c02b2ac58 |
|
BLAKE2b-256 | 2589253a07f4429641a10b9e43a138f317e8250d651795172c3529fba6de6381 |