DisableBoard: disables both checkboxes if cell has been played. otherwise...

Description Usage Arguments Examples

View source: R/UpdateBoard.R

Description

disables both checkboxes if cell has been played. otherwise disable so one side (X,O) cannot play.

Usage

1
DisableBoard(localBoard, computerSide, xSide, oSide)

Arguments

localBoard:

vector (1:9) - values for a cell: -1, 0, 1

computerSide:

Integer: (1,-1)

xSide:

Integer: (1,-1)

oSide:

Integer: (1,-1)

Examples

1

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