vector <- c(1, 1, 0,
1, 0, 1,
0, 1, 1)
new_board(entries = vector)
matrix <- matrix(
c(1, 1, 0,
1, 0, 1,
0, 1, 1),
nrow = 3, byrow = TRUE)
new_board(entries = matrix)
Run the code above in your browser using DataLab