Skip to content

Instantly share code, notes, and snippets.

@kastnerkyle
kastnerkyle / mcts_tictactoe.py
Last active August 16, 2019 06:39
MCTS tictactoe, play 2 against each other, or play against it yourself
# Based on tutorial from https://jeffbradberry.com/posts/2015/09/intro-to-monte-carlo-tree-search/
# Author: Kyle Kastner
# License: BSD 3-Clause
from __future__ import print_function
import random
import copy
import numpy as np
import time
import argparse
import sys
@CMCDragonkai
CMCDragonkai / figure.png
Last active April 10, 2023 21:41
Create a Surface Plot from a Matrix #numpy #matplotlib #python
figure.png