Description Usage Arguments Examples
disables both checkboxes if cell has been played. otherwise disable so one side (X,O) cannot play.
1 | DisableBoard(localBoard, computerSide, xSide, oSide)
|
localBoard: |
vector (1:9) - values for a cell: -1, 0, 1 |
computerSide: |
Integer: (1,-1) |
xSide: |
Integer: (1,-1) |
oSide: |
Integer: (1,-1) |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.