A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Btsan/generate_tictactoe below:

Btsan/generate_tictactoe: Tic-Tac-Toe board state generator (along with some heuristic calculations)

Tic-Tac-Toe board state generator (along with some heuristic calculations)

Recursively generates all 5478 legal game states for tic-tac-toe.

e.g. let X be 1 and O be -1

 then the board:
 
  1 |    |   
 ---+----+---
 -1 | -1 |   
 ---+----+---
  1 |  1 | -1
 
 is represented as:
 
 1 0 0 -1 -1 0 1 1 -1

The provided C++ code has commented out heuristic calculation code, used to augment the generated data for use in machine learning programs.

The augmented dataset was used to prototpe a weakly supervised training program for this checkers AI

Just C++ 11 and the g++ compiler.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4