1 contributor
Like
Install board as a package?
Copied
npm i @bit/joshk.tic-tac-toe-game.board
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example 
modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout

chevron_left
chevron_right
Board ()
Board generate dynamic 2d array by props, and manage player turn and check fo winner.
Example
Properties
Name | Type | Description |
---|---|---|
rows (required) | number | number of rows in 2d array |
cols (required) | number | number of columns in 2d array |
numToWin (required) | number | number of matching value to win |