Given an array anArray of one-letter strings, turns it into a
state for the tic-tac-toe game. More precisely, add the
toStringFun for displaying the state properly.
Parameters
anArray: string[]
an array of one-letter-strings for each cell of the board
Given an array
anArray
of one-letter strings, turns it into a state for the tic-tac-toe game. More precisely, add thetoStringFun
for displaying the state properly.