EvaluateBoard: returns who has won if any one.

Description Usage Arguments Value Examples

View source: R/UpdateBoard.R

Description

returns who has won if any one.

Usage

1

Arguments

board:

3x3 matrix representing board - values for a cell: -1, 0, 1

Value

Integer: -1 or 1, or 0 if no-one has won.

Examples

1

pkristoff/tttShiny documentation built on May 7, 2019, 8:01 a.m.