InitilizeGameTreeConversion: The data.tree representing all games in tic-tac-toe, takes...

Description Usage Arguments Value Examples

Description

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.

Usage

1

Arguments

initMove

An integer. The human's first click on the board.

Value

a function that takes two parameters: conversion: String ['toTree', 'toGame'] value: Integer The value to be converted.

Examples

1

pkristoff/TicTacToeImpls documentation built on May 19, 2019, 1:47 a.m.