Description Usage Arguments Value Examples
The data.tree representing all games in tic-tac-toe, takes advantage of rotating the board 90 degrees is the exact same board. Based on initMove this function sets the translation array: gameTreeConversionMapping.
1 | InitilizeGameTreeConversion(initMove)
|
initMove |
An integer. The human's first click on the board. |
a function that takes two parameters: conversion: String ['toTree', 'toGame'] value: Integer The value to be converted.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.